-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.92 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.92 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
{
"name": "react-ts-template",
"description": "一套基于react19、ts、vite的项目模板,帮助快速搭建react项目",
"version": "1.0.0",
"type": "module",
"packageManager": "pnpm@10.26.0",
"author": "huangmingfu <212149997@qq.com>",
"license": "MIT",
"homepage": "https://github.com/huangmingfu/react-ts-template",
"repository": {
"type": "git",
"url": "https://github.com/huangmingfu/react-ts-template"
},
"bugs": "https://github.com/huangmingfu/react-ts-template/issues",
"keywords": [
"react19 ts template",
"react template",
"react",
"template",
"vite"
],
"scripts": {
"dev": "vite -m dev",
"dev:test": "vite -m test",
"dev:pro": "vite -m pro",
"build:dev": "pnpm vite build -m dev",
"build:test": "pnpm vite build -m test",
"build:pro": "pnpm vite build -m pro",
"preview:dev": "pnpm vite preview -m dev",
"preview:test": "pnpm vite preview -m test",
"preview:pro": "pnpm vite preview -m pro",
"typecheck": "tsc --noEmit",
"lint:eslint": "eslint \"**/*.{ts,tsx,js,jsx,cjs,mjs}\" --fix",
"lint:format": "prettier --write \"**/*.{ts,tsx,js,jsx,cjs,mjs,html,scss,css,json}\"",
"lint:style": "stylelint \"**/*.{css,scss}\" --fix",
"lint:all": "pnpm run lint:eslint && pnpm run lint:style && pnpm run lint:format",
"push": "sh scripts/push.sh",
"clean": "rm -rf node_modules dist dist-*",
"deps:check": "pnpm outdated -r",
"deps:update": "pnpm update --latest",
"prepare": "husky install",
"preinstall": "npx only-allow pnpm"
},
"dependencies": {
"ahooks": "^3.9.6",
"axios": "^1.13.2",
"clsx": "^2.1.1",
"dayjs": "^1.11.19",
"es-toolkit": "^1.43.0",
"immer": "^11.0.1",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"react-router": "^7.10.1",
"swr": "^2.3.8",
"use-immer": "^0.11.0",
"zustand": "^5.0.9"
},
"devDependencies": {
"@commitlint/cli": "^20.2.0",
"@commitlint/config-conventional": "^20.2.0",
"@commitlint/prompt-cli": "^20.2.0",
"@eslint-react/eslint-plugin": "2.3.13",
"@eslint/js": "^9.39.2",
"@trivago/prettier-plugin-sort-imports": "^6.0.0",
"@types/node": "^25.0.2",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react-swc": "^4.2.2",
"code-inspector-plugin": "1.4.1",
"eslint": "^9.39.2",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.25",
"globals": "^16.5.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.7.4",
"sass": "^1.96.0",
"stylelint": "^16.26.1",
"stylelint-config-recess-order": "^7.4.0",
"stylelint-config-standard": "^39.0.1",
"stylelint-config-standard-scss": "^16.0.0",
"stylelint-order": "^7.0.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.50.0",
"vite": "^7.3.0",
"vite-plugin-checker": "^0.12.0"
},
"engines": {
"node": ">=22",
"pnpm": ">=9"
}
}