-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 4.02 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "react-app",
"description": "An enterprise-class scaffold for developing react applications.",
"version": "0.0.1",
"author": "kayson <[email protected]>",
"private": true,
"license": "MIT",
"scripts": {
"prepare": "husky install",
"dev": "webpack server --node-env development --progress",
"build": "webpack build --node-env production --progress",
"prebuild:server": "rm -rf server",
"build:server": "babel src --out-dir server --extensions '.ts,.tsx' --env-name production",
"test": "jest --rootDir tests --testEnvironment jsdom",
"lint": "npm run lint:script && npm run lint:style",
"lint:script": "eslint . --ext '.js,.ts,.tsx'",
"lint:style": "stylelint stylelint 'src/**/*.less' --syntax less",
"format": "prettier -c --write '**/*'"
},
"browserslist": [
"> 0.5%",
"last 2 versions",
"Firefox ESR",
"not dead",
"not op_mini all",
"ie > 10"
],
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.less": [
"stylelint --syntax less --fix",
"prettier --write"
],
"*.{json,md}": "prettier --write"
},
"theme": {
"border-radius-base": "2px"
},
"jest": {
"moduleNameMapper": {
"\\.(less|jpg|jpeg|png|svg)$": "identity-obj-proxy"
}
},
"dependencies": {
"@ant-design/icons": "^4.0.0",
"antd": "^4.0.0",
"axios": "^0.21.0",
"cookie": "^0.4.1",
"dayjs": "^1.6.0",
"is-mobile": "^3.0.0",
"pluralize": "^8.0.0",
"qs": "^6.0.0",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-intl": "^5.0.0",
"react-router-dom": "^5.1.0",
"serve-static": "^1.13.0"
},
"devDependencies": {
"@babel/cli": "^7.12.0",
"@babel/core": "^7.12.0",
"@babel/plugin-transform-runtime": "^7.12.0",
"@babel/preset-env": "^7.12.0",
"@babel/preset-react": "^7.12.0",
"@babel/preset-typescript": "^7.12.0",
"@babel/register": "^7.12.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
"@types/cookie": "^0.4.1",
"@types/css-minimizer-webpack-plugin": "^3.0.0",
"@types/jest": "^27.0.0",
"@types/mini-css-extract-plugin": "^2.0.0",
"@types/node": "^14.0.0",
"@types/pluralize": "^0.0.29",
"@types/qs": "^6.0.0",
"@types/react": "^16.8.0",
"@types/react-dom": "^16.8.0",
"@types/react-router-dom": "^5.1.0",
"@types/serve-static": "^1.13.0",
"@types/terser-webpack-plugin": "^5.0.0",
"@types/webpack-dev-server": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^4.0.0",
"antd-dayjs-webpack-plugin": "^1.0.0",
"babel-jest": "^27.0.0",
"babel-loader": "^8.0.0",
"babel-plugin-import": "^1.13.0",
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-preprocessor": "^0.0.4",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^6.0.0",
"css-minimizer-webpack-plugin": "^3.0.0",
"error-overlay-webpack-plugin": "^0.4.2",
"eslint": "^7.0.0",
"eslint-config-airbnb": "^18.0.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-compat": "^3.0.0",
"eslint-plugin-import": "^2.0.0",
"eslint-plugin-jest": "^24.0.0",
"eslint-plugin-jsx-a11y": "^6.0.0",
"eslint-plugin-react": "^7.0.0",
"eslint-plugin-react-hooks": "^4.0.0",
"html-webpack-plugin": "^5.0.0",
"husky": "^7.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.0.0",
"less": "^4.0.0",
"less-loader": "^10.0.0",
"lint-staged": "^11.0.0",
"mini-css-extract-plugin": "^2.0.0",
"prettier": "^2.0.0",
"react-refresh": "^0.8.3",
"serve-mock": "^0.0.7",
"stylelint": "^13.0.0",
"stylelint-config-prettier": "^8.0.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^22.0.0",
"stylelint-no-unsupported-browser-features": "^5.0.0",
"stylelint-order": "^4.0.0",
"stylelint-scss": "^3.18.0",
"terser-webpack-plugin": "^5.0.0",
"typescript": "^4.0.0",
"webpack": "^5.0.0",
"webpack-cli": "^4.0.0",
"webpack-dev-server": "^3.0.0"
}
}