-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·70 lines (70 loc) · 1.87 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
{
"name": "client",
"version": "0.1.0",
"private": true,
"dependencies": {
"@date-io/date-fns": "1.3.13",
"antd": "^4.8.0",
"axios": "^0.19.2",
"date-fns": "^2.14.0",
"express": "^4.17.1",
"immutability-helper": "^3.1.1",
"path": "^0.12.7",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-redux": "^7.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.1",
"redux": "^4.0.5",
"redux-actions": "^2.6.5",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.3.0",
"yarn": "^1.22.4"
},
"scripts": {
"start": "react-app-env --env-file=configs/development.env start",
"build": "react-app-env --env-file=configs/production.env build && node server.js",
"test": "react-scripts test",
"eject": "react-scripts eject",
"clean": "rm -rf ./node_modules && yarn install",
"fix:code": "prettier-eslint --write $PWD/'src/**/*.{js,jsx}'",
"fix:style": "stylelint --fix $PWD/'src/**/*.{css,scss}'",
"lint:fix": "yarn run fix:code && yarn run fix:style"
},
"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"
]
},
"devDependencies": {
"eslint": "^6.8.0",
"eslint-config-prettier": "^5.0.0",
"eslint-plugin-jest": "^22.6.4",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.13.0",
"husky": "^2.4.1",
"prettier": "^1.18.2",
"prettier-eslint": "^9.0.0",
"prettier-eslint-cli": "^5.0.0",
"react-app-env": "^1.2.3",
"stylelint": "^10.1.0",
"stylelint-config-prettier": "^5.2.0",
"stylelint-prettier": "^1.1.1"
},
"husky": {
"hooks": {
"pre-commit": "yarn run lint:fix"
}
}
}