-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.7 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
{
"name": "react-pc",
"private": true,
"version": "0.0.1",
"scripts": {
"dev": "vite --mode development",
"build": "vite build --mode production",
"lint": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx ./src",
"prettier": "prettier -c --write **/*.{js,jsx,tsx,ts,less,md,json}",
"preview": "vite preview",
"prepare": "simple-git-hooks",
"commitlint": "commitlint --edit"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "npm run commitlint"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,mjs,cjs}": [
"eslint --cache --fix"
],
"**/*.{css,scss,less,stylu,md,json}": [
"prettier --write --cache --ignore-unknown"
]
},
"dependencies": {
"@vitejs/plugin-legacy": "^4.0.1",
"ahooks": "^3.7.3",
"antd": "^5.20.1",
"axios": "^1.7.4",
"axios-retry": "^4.5.0",
"classnames": "^2.5.1",
"constate": "^3.3.2",
"dot-prop": "^9.0.0",
"immutability-helper": "^3.1.1",
"lodash-es": "^4.17.21",
"moment": "^2.30.1",
"p-map": "^7.0.2",
"p-props": "^6.0.0",
"qs": "^6.13.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-helmet": "^6.1.0",
"react-router-dom": "^6.4.5",
"styled-components": "^5.3.6",
"uuid": "^10.0.0"
},
"devDependencies": {
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/lodash-es": "^4.17.6",
"@types/node": "^18.11.13",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@vitejs/plugin-react": "^4.3.1",
"cssnano": "^7.0.5",
"cssnano-preset-advanced": "^7.0.5",
"eslint": "^8.25.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unused-imports": "^4.1.3",
"lint-staged": "^15.2.9",
"postcss-aspect-ratio-mini": "^1.1.0",
"postcss-import": "^16.1.0",
"postcss-preset-env": "^10.0.2",
"postcss-px-to-viewport-8-plugin": "^1.2.5",
"postcss-url": "^10.1.3",
"postcss-viewport-units": "^0.1.6",
"postcss-write-svg": "^3.0.1",
"prettier": "^2.8.1",
"prettier-config-standard": "^5.0.0",
"sass": "^1.56.2",
"simple-git-hooks": "^2.9.0",
"terser": "^5.16.3",
"typescript": "^5.2.2",
"vite": "^5.3.4",
"vite-plugin-compression": "^0.5.1"
}
}