-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
87 lines (87 loc) · 2.12 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "@daml/hub-react",
"version": "1.1.5",
"description": "Daml React functions for Daml Hub",
"homepage": "https://hub.daml.com",
"keywords": [
"daml hub",
"daml",
"react",
"client",
"API"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/**/*"
],
"license": "Apache-2.0",
"repository": "github:digital-asset/dabl-react",
"scripts": {
"build": "tsc --build",
"build:watch": "tsc --build --watch",
"test": "jest --coverage",
"format": "prettier --write .",
"format-check": "prettier --check .",
"lint": "eslint --ext .ts --ignore-pattern lib/ --max-warnings 0 ./"
},
"dependencies": {
"@mojotech/json-type-validation": "^3.1.0",
"jwt-decode": "^3.1.2"
},
"devDependencies": {
"@testing-library/react-hooks": "^5.0.3",
"@trivago/prettier-plugin-sort-imports": "^2.0.4",
"@types/jest": "^29.5.0",
"@types/jsonwebtoken": "^8.5.0",
"@types/node": "^18.15.3",
"@types/react": "^16.9.20",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"eslint": "^8.36.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-fetch-mock": "^3.0.3",
"jsonwebtoken": "^9.0.0",
"prettier": "^2.8.4",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.12.0",
"ts-jest": "^29.0.5",
"typescript": "^5.0.2"
},
"peerDependencies": {
"react": "^16.12.0 || ^17.0.0",
"react-dom": "^16.12.0 || ^17.0.0"
},
"resolutions": {
"@types/react": "^16.9.20"
},
"jest": {
"testEnvironment": "jsdom",
"testMatch": [
"**/__tests__/**/*.+(ts|tsx|js)",
"**/?(*.)+(spec|test).+(ts|tsx|js)"
],
"testPathIgnorePatterns": [
"/lib/",
"/tests/webpack-5-test/"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest",
"^.+\\.(js|jsx)$": "babel-jest"
}
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"arrowParens": "avoid",
"importOrder": [
"^react.*",
"^@.*",
"^.*/.*/",
"^.*/"
],
"importOrderSeparation": true
}
}