-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 2.86 KB
/
Copy pathpackage.json
File metadata and controls
111 lines (111 loc) · 2.86 KB
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
{
"name": "web-react",
"version": "0.0.0",
"private": true,
"type": "module",
"author": "theMuseCatcher",
"description": "基于 React + TypeScript + Vite + Sass/Less 开发的模板项目",
"scripts": {
"dev": "vite",
"push": "sh scripts/push.sh",
"tag": "sh scripts/tag.sh",
"build": "run-s format clean build-only",
"format": "prettier --write src/",
"clean": "rimraf ./dist",
"type-check": "tsc --build --force",
"build-only": "vite build && esno ./build/script/postBuild.ts",
"preview": "pnpm build && vite preview --port 9001",
"analyze": "vite build --mode analyze",
"lint": "eslint . --fix",
"lint:check": "eslint .",
"check": "run-s lint:check type-check",
"prepare": "husky"
},
"dependencies": {
"@ant-design/icons": "^5.6.1",
"ahooks": "^3.9.7",
"antd": "^5.29.3",
"axios": "^1.13.2",
"date-fns": "^4.1.0",
"lodash-es": "^4.17.21",
"mockjs": "^1.1.0",
"qs": "^6.14.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-router-dom": "^7.18.2",
"zustand": "^5.0.15"
},
"devDependencies": {
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@eslint/js": "^9.39.1",
"@tsconfig/node22": "^22.0.5",
"@types/fs-extra": "^11.0.4",
"@types/mockjs": "^1.0.10",
"@types/node": "^24.10.1",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@vitejs/devtools": "^0.4.12",
"@vitejs/plugin-react": "^6.0.5",
"chalk": "^5.6.2",
"dotenv": "^17.2.3",
"esbuild": "^0.28.2",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.4",
"esno": "^4.8.0",
"fs-extra": "^11.3.2",
"globals": "^16.4.0",
"husky": "^9.1.7",
"less": "^4.4.2",
"lint-staged": "^16.2.6",
"npm-run-all2": "^8.0.4",
"prettier": "^3.6.2",
"rimraf": "^6.1.0",
"rollup-plugin-visualizer": "^6.0.5",
"sass-embedded": "^1.95.1",
"terser": "^5.44.1",
"typescript": "~5.9.3",
"typescript-eslint": "^8.67.0",
"vite": "^8.2.1",
"vite-plugin-cdn-import": "^1.0.1",
"vite-plugin-compression2": "^2.5.3",
"vite-plugin-html": "^3.2.2",
"vite-plugin-inspect": "^12.0.2",
"vite-plugin-mock": "^3.0.2",
"vite-plugin-svgr": "^5.2.0"
},
"keywords": [
"React",
"TypeScript",
"Vite",
"Less",
"Web",
"Template",
"AntDesign",
"Out-of-the-box"
],
"engines": {
"node": ">=20.19.0",
"pnpm": ">=9"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
],
"lint-staged": {
"*.{js,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{html,css,less,scss}": [
"prettier --write"
],
"*.md": [
"prettier --write --parser markdown --prose-wrap never",
"eslint --fix"
]
}
}