-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 2.46 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": "vite-react-admin",
"author": "shixian",
"license": "MIT",
"private": true,
"version": "1.0.0",
"scripts": {
"prettier": "prettier \"{src,typings}/**/*.{tsx,ts}\" --write",
"lint:js": "eslint src --ext .ts,.tsx",
"lint:css": "stylelint \"./src/**/*.{css,scss}\"",
"lint:js-fix": "eslint src --ext .ts,.tsx --fix",
"lint:css-fix": "stylelint \"./src/**/*.{css,scss}\" --fix",
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"prepare": "husky install"
},
"lint-staged": {
"*.{ts,tsx}": [
"yarn run prettier",
"yarn run lint:js",
"git add ."
]
},
"keywords": [
"vite",
"typescript",
"admin",
"react",
"mobx",
"starter-template"
],
"dependencies": {
"@ant-design/icons": "^4.7.0",
"@reduxjs/toolkit": "^1.7.2",
"ahooks": "^3.1.9",
"antd": "^4.18.7",
"axios": "^0.26.0",
"js-cookie": "^3.0.1",
"lodash-es": "^4.17.21",
"mockjs": "^1.1.0",
"path": "^0.12.7",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^7.2.6",
"react-router-dom": "^6.2.1",
"redux-persist": "^6.0.0"
},
"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@types/js-cookie": "^3.0.1",
"@types/lodash-es": "^4.17.6",
"@types/node": "^17.0.18",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"@vitejs/plugin-legacy": "^1.7.1",
"@vitejs/plugin-react": "^1.0.7",
"@vitejs/plugin-react-refresh": "^1.3.6",
"autoprefixer": "^10.4.2",
"eslint": "^8.9.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^7.0.4",
"less": "^4.1.2",
"lint-staged": "^12.3.4",
"postcss": "^8.4.6",
"prettier": "2.5.1",
"sass": "^1.49.8",
"stylelint": "^14.5.1",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^25.0.0",
"stylelint-order": "^5.0.0",
"typescript": "^4.5.4",
"vite": "^2.8.0",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-style-import": "1.4.1",
"vite-plugin-svg-icons": "^2.0.1",
"vite-tsconfig-paths": "^3.4.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 11"
]
}