forked from WinmezzZ/react-antd-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 2.44 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
{
"name": "react-antd-admin",
"version": "0.1.0",
"private": true,
"dependencies": {
"@ant-design/icons": "^5.3.3",
"@emotion/core": "^11.0.0",
"@emotion/react": "^11.5.0",
"@reduxjs/toolkit": "^1.4.0",
"antd": "^5.0.2",
"axios": "^0.24.0",
"driver.js": "^0.9.8",
"history": "^5.0.1",
"lodash": "^4.17.21",
"mockjs": "^1.1.0",
"query-string": "^7.0.1",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-intl": "^5.23.0",
"react-redux": "^7.2.6",
"react-router-dom": "^6.0.0",
"recharts": "^2.1.13",
"styled-components": "^5.3.9"
},
"scripts": {
"dev": "copy .env.development .env && vite",
"build": "copy .env.production .env && tsc && vite build",
"serve": "vite preview",
"lint": "eslint . --ext js,ts,tsx",
"lint-fix": "eslint . --ext js,ts,tsx",
"format": "prettier --write **/*.{js,ts,tsx} && eslint . --ext js,ts,tsx --fix",
"postinstall": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
".(tx|tsx)": [
"yarn lint",
"yarn lint:fix",
"git add ."
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@commitlint/cli": "^17.4.1",
"@commitlint/config-conventional": "^17.4.0",
"@emotion/babel-plugin": "^11.3.0",
"@emotion/babel-preset-css-prop": "^11.2.0",
"@rollup/plugin-babel": "^5.3.0",
"@types/mockjs": "^1.0.2",
"@types/node": "^16.11.6",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-redux": "^7.1.20",
"@types/recharts": "^1.8.13",
"@types/webpack-env": "^1.15.0",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"@vitejs/plugin-react": "^1.1.0",
"@vitejs/plugin-react-refresh": "^1.3.6",
"babel-plugin-import": "^1.13.3",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"less": "^4.1.2",
"lint-staged": "^13.2.1",
"prettier": "^2.4.1",
"typescript": "^4.3.2",
"vite": "^2.6.4",
"vite-plugin-imp": "^2.0.10",
"vite-plugin-svgr": "^0.6.0"
}
}