-
Notifications
You must be signed in to change notification settings - Fork 284
/
Copy pathpackage.json
59 lines (59 loc) · 1.7 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
{
"license": "Apache-2.0",
"private": true,
"engines": {
"node": ">=16.14.0"
},
"workspaces": [
"@modules/mint-token",
"@modules/payment-react",
"@modules/atomic-swap-react",
"demo-picker"
],
"scripts": {
"build": "yarn workspace demo-picker build",
"start": "yarn workspace demo-picker start",
"start:mint": "yarn workspace @modules/mint-token start",
"start:payment": "yarn workspace @modules/payment-react start",
"start:atomic-swap": "yarn workspace @modules/atomic-swap-react start",
"install-if-package-changed": "git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD | grep --quiet yarn.lock && yarn install || exit 0"
},
"husky": {
"hooks": {
"pre-commit": "concurrently 'pretty-quick --staged' 'lint-staged'",
"post-merge": "yarn install-if-package-changed",
"post-checkout": "yarn install-if-package-changed"
}
},
"lint-staged": {
"modules/**/*.ts?(x)": [
"eslint --fix --max-warnings 0"
]
},
"browserslist": {
"production": [
"last 3 chrome version",
"last 3 firefox version"
],
"development": [
"last 1 chrome version",
"last 1 firefox version"
]
},
"dependencies": {
"eslint": "7.12.1",
"eslint-config-prettier": "^6.10.0",
"eslint-config-react-app": "^5.2.1",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-flowtype": "4.x",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "6.x",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "2.x",
"eslint-webpack-plugin": "^2.1.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3"
}
}