forked from babybrotherzb/React-Hook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 2.63 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
91
92
93
94
95
96
97
98
99
100
101
{
"name": "react-hoook",
"version": "0.1.0",
"private": true,
"author": "@baby张 <[email protected]>",
"address": "https://github.com/babybrotherzb",
"csdn": "https://blog.csdn.net/weixin_43648947",
"dependencies": {
"@types/react": "16.9.11",
"@types/react-dom": "16.9.3",
"@types/react-router-dom": "5.1.3",
"style-loader": "1.0.0",
"css-loader": "2.1.1",
"antd": "^3.26.0",
"axios": "^0.19.0",
"typescript": "3.6.4",
"babel-eslint": "10.0.3",
"babel-loader": "8.0.6",
"babel-plugin-named-asset-import": "^0.3.4",
"babel-preset-react-app": "^9.0.2",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"react-router-dom": "^5.1.2",
"url-loader": "2.1.0",
"inquirer": "^7.0.0",
"colors": "^1.4.0",
"cross-env": "^6.0.3",
"glob": "^7.1.5",
"resolve": "1.12.0",
"resolve-url-loader": "3.1.0",
"eslint": "^6.1.0",
"eslint-config-react-app": "^5.0.2",
"eslint-loader": "3.0.2",
"eslint-plugin-flowtype": "3.13.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.14.3",
"eslint-plugin-react-hooks": "^1.6.1",
"react-dev-utils": "^9.1.0",
"pnp-webpack-plugin": "1.5.0",
"webpack": "4.41.0",
"webpack-dev-server": "3.2.1",
"html-webpack-plugin": "4.0.0-beta.5",
"case-sensitive-paths-webpack-plugin": "2.2.0",
"mini-css-extract-plugin": "0.8.0",
"optimize-css-assets-webpack-plugin": "5.0.3",
"webpack-manifest-plugin": "2.1.1",
"postcss-flexbugs-fixes": "4.1.0",
"postcss-loader": "3.0.0",
"postcss-normalize": "7.0.1",
"postcss-preset-env": "6.7.0",
"postcss-safe-parser": "4.0.1",
"workbox-webpack-plugin": "4.3.1"
},
"scripts": {
"start": "node scripts/start.js",
"build": "node scripts/build.js",
"dev": "npm run start"
},
"devDependencies": {
"less": "^3.10.3",
"less-loader": "^5.0.0",
"sass-loader": "7.2.0",
"file-loader": "3.0.1",
"raw-loader": "^3.1.0",
"prettier": "^1.18.2",
"lint-staged": "^9.4.2",
"husky": "^3.0.9",
"http-proxy-middleware": "^0.20.0"
},
"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|js|jsx)": [
"prettier --write",
"git add"
],
"*.+(json|css|md)": [
"prettier --write",
"git add"
]
}
}