-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
91 lines (91 loc) · 2.96 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
{
"name": "react-ts-template",
"description": "一套基于react19、ts、vite6的项目模板,帮助快速搭建react项目",
"version": "1.0.0",
"type": "module",
"packageManager": "pnpm@9.15.1",
"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",
"ts:check": "tsc --noEmit",
"lint:eslint": "eslint --max-warnings 0 \"**/*.{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.8.4",
"axios": "^1.7.9",
"classnames": "^2.5.1",
"dayjs": "^1.11.13",
"es-toolkit": "^1.31.0",
"immer": "^10.1.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router": "^7.1.1",
"zustand": "^5.0.2"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@commitlint/prompt-cli": "^19.6.1",
"@eslint/js": "^9.17.0",
"@react-dev-inspector/vite-plugin": "^2.0.1",
"@trivago/prettier-plugin-sort-imports": "^5.2.0",
"@types/node": "^22.10.3",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@vitejs/plugin-react-swc": "^3.7.2",
"eslint": "^9.17.0",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.16",
"globals": "^15.14.0",
"husky": "^9.1.7",
"lint-staged": "^15.3.0",
"prettier": "^3.4.2",
"react-dev-inspector": "^2.0.1",
"sass": "^1.83.0",
"stylelint": "^16.12.0",
"stylelint-config-recess-order": "^5.1.1",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-standard-scss": "^14.0.0",
"stylelint-order": "^6.0.4",
"typescript": "~5.7.2",
"typescript-eslint": "^8.19.0",
"vite": "^6.0.6",
"vite-plugin-checker": "^0.8.0"
},
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=22.0.0",
"pnpm": ">=9"
}
}