-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.54 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-mobile-template",
"type": "module",
"version": "1.0.0",
"packageManager": "[email protected]",
"description": "一套基于react18、ts、vite6的移动端项目模板",
"author": "huangmingfu <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/huangmingfu/react-mobile-template",
"repository": {
"type": "git",
"url": "https://github.com/huangmingfu/react-mobile-template"
},
"bugs": "https://github.com/huangmingfu/react-mobile-template/issues",
"keywords": [
"react18 mobile template",
"react template",
"react",
"template",
"mobile",
"antd-mobile",
"vite"
],
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=22.0.0",
"pnpm": ">=9"
},
"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 .",
"lint:fix": "eslint . --fix",
"lint:inspector": "npx @eslint/config-inspector",
"preinstall": "npx only-allow pnpm",
"postinstall": "npx simple-git-hooks",
"clean": "rm -rf node_modules dist dist-*",
"deps:check": "pnpm outdated -r"
},
"dependencies": {
"ahooks": "^3.8.4",
"antd-mobile": "5.38.1",
"axios": "^1.7.9",
"classnames": "^2.5.1",
"dayjs": "^1.11.13",
"immer": "^10.1.1",
"lodash-es": "^4.17.21",
"react": "~18.3.1",
"react-dom": "~18.3.1",
"react-router": "^7.1.1",
"zustand": "^5.0.2"
},
"devDependencies": {
"@antfu/eslint-config": "^3.12.1",
"@eslint-react/eslint-plugin": "^1.22.1",
"@react-dev-inspector/vite-plugin": "^2.0.1",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.10.2",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@vitejs/plugin-react-swc": "^3.7.2",
"amfe-flexible": "^2.2.1",
"eslint": "^9.17.0",
"eslint-plugin-format": "^0.1.3",
"globals": "^15.14.0",
"lint-staged": "^15.2.11",
"postcss-preset-env": "^10.1.2",
"postcss-pxtorem": "^6.1.0",
"react-dev-inspector": "^2.0.1",
"sass": "^1.83.0",
"simple-git-hooks": "^2.11.1",
"typescript": "~5.7.2",
"vite": "^6.0.5",
"vite-plugin-checker": "^0.8.0"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}