-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.72 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) · 2.72 KB
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
91
92
93
94
95
96
97
98
{
"name": "react-redux-tutorial",
"version": "0.1.0",
"private": true,
"dependencies": {
"@reach/router": "^1.3.3",
"antd": "^4.1.4",
"axios": "^0.19.2",
"dayjs": "^1.8.28",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-redux": "^7.2.0",
"redux": "^4.0.5",
"redux-actions": "^2.6.5",
"redux-observable": "^1.2.0",
"redux-promise-middleware": "^6.1.2",
"redux-saga": "^1.1.3",
"redux-thunk": "^2.3.0"
},
"devDependencies": {
"@hot-loader/react-dom": "^16.13.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"babel-loader": "^8.1.0",
"babel-plugin-import": "^1.13.0",
"core-js": "3",
"cross-env": "^7.0.2",
"customize-cra": "^0.9.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react-hooks": "^2.5.1",
"husky": "^4.2.5",
"json-server": "^0.16.1",
"lint-staged": "^10.1.7",
"node-notifier-cli": "^1.2.1",
"prettier": "^2.0.5",
"react-app-rewired": "^2.1.5",
"react-hot-loader": "^4.12.20",
"react-scripts": "3.4.1",
"typescript": "^2.9.2",
"webpack": "4.42.0",
"webpack-cli": "^3.3.11"
},
"scripts": {
"start": "react-app-rewired start",
"serve": "json-server ./data.json --port 4000",
"build": "react-app-rewired build && npx node-notifier-cli notify -t 'Noti' -m 'Build Finished!!' -s",
"test": "react-app-rewired test",
"eject": "react-scripts eject",
"lint-staged": "lint-staged"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.js": [
"eslint",
"prettier --write"
]
},
"eslintConfig": {
"rules": {
"no-unused-vars": "warn",
"react-hooks/rules-of-hooks": "warn",
"react-hooks/exhaustive-deps": "warn"
},
"extends": [
"react-app",
"prettier",
"prettier/react"
],
"plugins": [
"prettier",
"react-hooks"
]
},
"prettier": {
"trailingComma": "all",
"tabWidth": 4,
"semi": false,
"singleQuote": true
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}