-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.08 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
90
{
"name": "dashboard-best-practices",
"version": "0.1.0",
"private": true,
"dependencies": {
"@ant-design/icons": "^4.5.0",
"@reduxjs/toolkit": "^1.5.0",
"@rjsf/antd": "^2.5.1",
"@rjsf/core": "^2.5.1",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-redux": "^7.1.16",
"@types/react-router-dom": "^5.1.7",
"@types/redux": "^3.6.0",
"antd": "^4.14.0",
"axios": "^0.21.1",
"dayjs": "^1.10.4",
"dotenv-cli": "^4.0.0",
"husky": "^5.2.0",
"lint-staged": "^10.5.4",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-redux": "^7.2.2",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "dotenv -e vars.dev.env react-scripts start",
"build": "dotenv -e vars.prod.env react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {
"curly": "error",
"import/newline-after-import": "error"
}
},
"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": "tsc && lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
],
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix --max-warnings 0"
]
},
"prettier": {
"printWidth": 100,
"singleQuote": true
},
"devDependencies": {
"@types/axios": "^0.14.0",
"@types/faker": "^5.1.7",
"faker": "^5.5.1",
"msw": "^0.28.0"
},
"msw": {
"workerDirectory": "public"
}
}