-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 2.86 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
{
"name": "react-template",
"version": "1.0.0",
"description": "react 脚手架",
"main": "index.js",
"scripts": {
"start": "cross-env NODE_ENV=development webpack-dev-server --config webpack/webpack.dev.js",
"build": "cross-env NODE_ENV=production webpack --config webpack/webpack.prod.js",
"lint": "npm run lint:js && npm run lint:style",
"lint--fix": "npm run lint:js--fix && npm run lint:style--fix",
"lint:js": "eslint --ext .js src webpack",
"lint:js--fix": "eslint --fix --ext .js src webpack",
"lint:style": "stylelint src/**/*.{less,scss}",
"lint:style--fix": "stylelint --fix src/**/*.{less,scss}",
"precommit": "lint-staged",
"lint-staged:js": "eslint",
"lint-staged:style": "stylelint"
},
"author": "",
"license": "ISC",
"repository": "https://github.com/zhuanglong/react-template",
"dependencies": {
"axios": "^0.20.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0",
"react-hot-loader": "^4.12.21"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@hot-loader/react-dom": "^16.13.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^6.1.1",
"cross-env": "^7.0.2",
"css-loader": "^4.3.0",
"eslint": "^7.10.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.21.2",
"eslint-plugin-react-hooks": "^4.1.2",
"file-loader": "^6.1.0",
"html-webpack-plugin": "^4.5.0",
"husky": "^4.3.0",
"less": "^3.12.2",
"less-loader": "^7.0.1",
"less-plugin-functions": "^1.0.0",
"lint-staged": "^10.4.0",
"mini-css-extract-plugin": "^0.11.2",
"optimize-css-assets-webpack-plugin": "^5.0.4",
"postcss-loader": "^4.0.2",
"postcss-preset-env": "^6.7.0",
"progress-bar-webpack-plugin": "^2.1.0",
"react-dev-utils": "^11.0.4",
"sass": "^1.26.11",
"sass-loader": "^10.0.2",
"style-loader": "^1.2.1",
"stylelint": "^13.7.2",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^20.0.0",
"terser-webpack-plugin": "^4.2.2",
"url-loader": "^4.1.0",
"webpack": "^4.44.1",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^5.7.3"
},
"browserslist": [
"Android 4.1",
"iOS 7.1",
"Chrome > 31",
"ff > 31",
"ie >= 8"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"(src|webpack)/**/*.js": "npm run lint-staged:js",
"src/**/*.{less,scss}": "npm run lint-staged:style"
}
}