-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
115 lines (115 loc) · 3.69 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "shaw-harry",
"version": "2.0.0",
"description": "自搭建的webpack工程",
"main": "index.js",
"author": "chastlove",
"license": "MIT",
"dependencies": {
"antd": "^3.15.0",
"babel-eslint": "10.x",
"cache-loader": "^4.1.0",
"core-js": "^3.1.4",
"js-cookie": "^2.2.0",
"formstate": "^1.3.0",
"husky": "^3.0.4",
"is-wsl": "^2.1.0",
"lodash": "4.17.15",
"mobx": "^5.13.0",
"mobx-react": "^6.1.3",
"pretty-quick": "^1.11.1",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-router": "^5.0.0",
"react-router-dom": "^5.0.0",
"sass": "^1.22.10",
"typescript": "^3.5.3"
},
"scripts": {
"dev": "node scripts/dev.js",
"babel": "babel lib/CusTable.js -o aa.js",
"build": "node scripts/build.js",
"tcm": "tcm -p ./src/**/*.pcss && tcm -p ./src/**/*.pcss -w",
"pretty-quick": "pretty-quick",
"mock": "npm-run-all --parallel mockServer mockDev",
"mockServer": "nodemon mock/index.js",
"mockDev": "cross-env isMock=true yarn dev",
"genMockRoute": "node mock/transfer.js --watch mock"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-decorators": "^7.4.4",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
"@babel/plugin-proposal-pipeline-operator": "^7.5.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.4",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@babel/runtime": "^7.3.4",
"mockjs": "^1.0.1-beta3",
"nodemon": "^1.18.10",
"npm-run-all": "^4.1.5",
"@types/lodash": "^4.14.118",
"@types/node": "^12.7.7",
"@types/react": "^16.9.2",
"swagger-parser-mock": "^1.1.2",
"@types/react-dom": "^16.9.0",
"@types/js-cookie": "^2.2.1",
"@types/react-router": "^5.0.3",
"@typescript-eslint/eslint-plugin": "2.0.0",
"@typescript-eslint/parser": "2.0.0",
"babel-loader": "^8.0.6",
"babel-plugin-import": "^1.12.1",
"browserslist": "^4.6.6",
"case-sensitive-paths-webpack-plugin": "^2.2.0",
"copy-webpack-plugin": "^5.0.4",
"cross-env": "^5.2.0",
"css-loader": "^3.2.0",
"eslint": "6.x",
"eslint-config-react-app": "^5.0.2",
"eslint-plugin-flowtype": "4.2.0",
"eslint-plugin-import": "2.x",
"eslint-plugin-jsx-a11y": "6.x",
"eslint-plugin-react": "7.x",
"eslint-plugin-react-hooks": "2.0.1",
"file-loader": "^4.2.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"fs-extra": "^8.0.1",
"handlebars": "^4.1.0",
"handlebars-loader": "^1.7.0",
"html-webpack-plugin": "4.0.0-beta.5",
"mini-css-extract-plugin": "^0.8.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"postcss-apply": "^0.12.0",
"postcss-flexbugs-fixes": "^4.1.0",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-normalize": "^8.0.1",
"postcss-plugin-px2rem": "^0.8.1",
"postcss-preset-env": "^6.6.0",
"postcss-safe-parser": "^4.0.1",
"precss": "^4.0.0",
"preload-webpack-plugin": "^3.0.0-beta.4",
"prettier": "^1.18.2",
"react-dev-utils": "^9.0.3",
"style-loader": "^0.23.1",
"terser-webpack-plugin": "^1.4.1",
"thread-loader": "^2.1.3",
"typed-css-modules": "^0.6.0",
"url-loader": "^2.1.0",
"webpack": "^4.39.3",
"webpack-bundle-analyzer": "^3.1.0",
"webpack-dev-server": "3.2.1",
"webpack-manifest-plugin": "^2.0.4",
"webpack-sentry-plugin": "^2.0.2",
"webpackbar": "^4.0.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}