-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
120 lines (120 loc) · 3.84 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
{
"name": "dva-typescript-antd-starter-kit",
"description": "a practice project",
"private": true,
"scripts": {
"dev": "webpack serve --mode development --env development",
"mockjson": "json-server --watch mock/db.json --routes mock/routes.json --port 9090",
"mockjs": "json-server --watch mock/db.js --routes mock/routes.json --port 9090",
"build": "webpack --mode production --env production",
"eslint:fix": "eslint --fix \"src/**/*.{ts,tsx}\" ",
"stylelint": "stylelint --fix --syntax less \"src/**/*.less\" ",
"prettier": "prettier --write \"src/**/*.{ts,tsx,js,jsx,less,css,json}\" ",
"precommit": "lint-staged",
"prepare": "husky install",
"cnpm": "cnpm i",
"clean:lib": "rimraf node_modules",
"update:lib": "ncu -u"
},
"engines": {
"install-node": "16.15.1"
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
"antd": "^4.24.1",
"axios": "^1.1.3",
"classnames": "^2.3.2",
"dayjs": "^1.11.6",
"dva": "^2.6.0-beta.22",
"dva-loading": "^3.0.22",
"lodash-es": "^4.17.21",
"mockjs": "^1.1.0",
"query-string": "^7.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"swr": "^1.3.0"
},
"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.9",
"@types/classnames": "^2.3.1",
"@types/lodash-es": "^4.17.6",
"@types/node": "^18.11.9",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.8",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"autoprefixer": "^10.4.13",
"babel-loader": "^9.1.0",
"babel-plugin-import": "^1.13.5",
"clean-webpack-plugin": "^4.0.0",
"compression-webpack-plugin": "^10.0.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"cssnano": "^5.1.14",
"cssnano-preset-advanced": "^5.3.9",
"eslint": "^8.27.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.2",
"image-webpack-loader": "^8.1.0",
"ip": "^1.1.8",
"json-server": "^0.17.1",
"less": "^4.1.3",
"less-loader": "^11.1.0",
"less-vars-to-js": "^1.3.0",
"lint-staged": "^13.0.3",
"mini-css-extract-plugin": "^2.6.1",
"postcss": "^8.4.19",
"postcss-import": "^15.0.0",
"postcss-less": "^6.0.0",
"postcss-loader": "^7.0.1",
"postcss-preset-env": "^7.8.2",
"prettier": "^2.7.1",
"react-refresh": "^0.14.0",
"rimraf": "^3.0.2",
"sass-loader": "^13.2.0",
"source-map-loader": "^4.0.1",
"stylelint": "^14.14.1",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-standard": "^29.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.6.0",
"stylelint-order": "^5.0.0",
"svg-sprite-loader": "^6.0.11",
"terser-webpack-plugin": "^5.3.6",
"typescript": "^4.8.4",
"url-loader": "^4.1.1",
"webpack": "^5.75.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1",
"webpack-merge": "^5.8.0"
},
"lint-staged": {
"src/**/*.{js,ts,tsx,jsx}": [
"eslint --fix",
"prettier --write"
],
"**/*.{less}": [
"stylelint --fix",
"prettier --write"
],
"**/*.{json,md}": [
"prettier --write"
]
}
}