-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
97 lines (97 loc) · 3.13 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
{
"name": "react-template-vite",
"private": true,
"version": "0.0.0",
"scripts": {
"dev:mock": "cross-env useMock=true appEnv=mock vite",
"dev:test": "cross-env appEnv=test vite",
"build": "tsc && cross-env appEnv=production vite build",
"preview": "vite preview",
"lint:eslint": "eslint --fix --ext .js,.ts,.tsx ./src",
"lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,tsx,css,less,scss,html,md}\"",
"lint:stylelint": "stylelint --fix \"**/*.{less,postcss,css,scss}\" --custom-syntax postcss-less --cache --cache-location node_modules/.cache/stylelint/",
"format": "npm run lint:eslint && npm run lint:stylelint && npm run lint:prettier",
"prepare": "husky install",
"server": "serve ./dist -p 52232"
},
"dependencies": {
"antd": "^5.4.2",
"axios": "^1.6.2",
"events": "^3.3.0",
"intersection-observer": "^0.12.2",
"lodash": "^4.17.21",
"normalize.css": "^8.0.1",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router": "^6.16.0",
"react-router-dom": "^6.16.0",
"redux-logger": "^3.0.6"
},
"devDependencies": {
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@loadable/component": "^5.15.3",
"@reduxjs/toolkit": "^1.9.5",
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@types/loadable__component": "^5.13.4",
"@types/lodash": "^4.14.196",
"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",
"@types/react-redux": "^7.1.25",
"@types/redux-logger": "^3.0.9",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@vitejs/plugin-legacy": "^5.2.0",
"@vitejs/plugin-react": "^4.2.1",
"ahooks": "^3.7.8",
"classnames": "^2.3.2",
"consola": "^3.2.3",
"cross-env": "^7.0.3",
"dayjs": "^1.11.9",
"echarts": "^5.4.3",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.9.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"less": "^4.1.3",
"lint-staged": "^13.2.3",
"mockjs": "^1.1.0",
"picocolors": "^1.0.0",
"postcss": "^8.4.27",
"postcss-less": "^6.0.0",
"prettier": "^3.0.0",
"qs": "^6.11.2",
"react-redux": "^8.1.2",
"redux": "^4.2.1",
"rimraf": "^5.0.1",
"stylelint": "^15.10.2",
"stylelint-config-recess-order": "^4.3.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-less": "^1.0.8",
"typescript": "^5.1.6",
"vite": "^5.0.10",
"vite-plugin-checker": "^0.6.2",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-html": "^3.2.0",
"vite-plugin-mock": "^3.0.0",
"vite-plugin-progress": "^0.0.7",
"vite-plugin-style-import": "^2.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write --loglevel warn"
],
"src/**/*.{less,postcss,css,scss}": [
"stylelint --fix --custom-syntax postcss-less --cache --cache-location node_modules/.cache/stylelint/"
]
}
}