-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.39 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
88
89
{
"name": "yoyo",
"version": "0.1.0",
"private": true,
"dependencies": {
"@ant-design/icons": "^4.0.2",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/jest": "^24.0.0",
"@types/node": "^12.0.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@types/react-redux": "^7.1.8",
"antd-mobile": "^2.3.3",
"babel-plugin-import": "^1.13.0",
"classnames": "^2.2.6",
"connected-react-router": "^6.7.0",
"cross-env": "^7.0.0",
"customize-cra": "^0.9.1",
"customize-cra-react-refresh": "^1.0.1",
"dva-core": "^2.0.2",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"js-conflux-sdk": "^0.13.4",
"lint-staged": "^10.0.8",
"node-sass": "^4.13.1",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"qs": "^6.9.1",
"react": "^16.13.1",
"react-app-rewired": "^2.1.5",
"react-dom": "^16.13.1",
"react-redux": "^7.2.0",
"react-router-dom": "^5.1.2",
"react-scripts": "3.4.1",
"react-touch-loader": "^1.1.4",
"rmc-pull-to-refresh": "^1.0.13",
"stylelint": "^13.3.2",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"stylelint-order": "^4.0.0",
"stylelint-scss": "^3.16.1",
"typescript": "^3.8.0"
},
"scripts": {
"start": "cross-env REACT_APP_CONFIG_ENV=dev react-app-rewired start",
"build": "cross-env REACT_APP_CONFIG_ENV=prod react-app-rewired build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"dev": "cross-env REACT_APP_CONFIG_ENV=dev react-app-rewired build",
"lint:ts": "tsc --noEmit && eslint src --ext .ts,.tsx ",
"lint:scss": "stylelint src/**/*.scss --fix"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"pretty-quick --staged",
"npm run lint:ts"
],
"*.{css,scss,less}": [
"npm run lint:scss"
]
},
"devDependencies": {
"pont-engine": "1.0.3",
"react-copy-to-clipboard": "^5.0.2"
}
}