-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
114 lines (114 loc) · 3.2 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "lemon-template-react",
"version": "1.0.0",
"type": "module",
"private": true,
"packageManager": "pnpm@9.15.0",
"description": "An mobile web apps template based on the React ecosystem",
"author": {
"name": "sankeyangshu",
"email": "sankeyangshu@gmail.com",
"url": "https://github.com/sankeyangshu"
},
"license": "MIT",
"homepage": "https://github.com/sankeyangshu/lemon-template-react#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/sankeyangshu/lemon-template-react.git"
},
"bugs": {
"url": "https://github.com/sankeyangshu/lemon-template-react/issues"
},
"keywords": [
"react",
"template",
"typescript",
"axios",
"react-router",
"react-vant",
"i18n-react",
"zustand",
"unocss"
],
"engines": {
"node": "^18.18.0 || >=20.0.0",
"pnpm": ">=8.15.4"
},
"scripts": {
"dev": "vite",
"build:dev": "vite build --mode development",
"build:prod": "vite build --mode production",
"build:test": "vite build --mode test",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "vitest",
"preview": "vite preview",
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
"clean:lib": "rimraf node_modules",
"release": "bumpp",
"preinstall": "npx only-allow pnpm",
"prepare": "simple-git-hooks"
},
"dependencies": {
"@react-vant/icons": "^0.1.0",
"ahooks": "^3.8.4",
"axios": "^1.7.9",
"dayjs": "^1.11.13",
"echarts": "^5.6.0",
"i18next": "^24.2.1",
"i18next-browser-languagedetector": "^8.0.2",
"keepalive-for-react": "^3.0.8",
"nprogress": "^0.2.0",
"qs": "^6.14.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^15.4.0",
"react-router": "^7.1.1",
"react-transition-group": "^4.4.5",
"react-vant": "^3.3.5",
"zustand": "^5.0.2"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@iconify/react": "^5.1.0",
"@sankeyangshu/eslint-config": "^0.2.2",
"@types/mockjs": "^1.0.10",
"@types/node": "^22.10.2",
"@types/nprogress": "^0.2.3",
"@types/qs": "^6.9.18",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@types/react-transition-group": "^4.4.12",
"@unocss/eslint-plugin": "^0.65.3",
"@unocss/preset-rem-to-px": "^0.65.3",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"bumpp": "^9.9.3",
"eslint": "^9.17.0",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.16",
"less": "^4.2.1",
"lint-staged": "^15.3.0",
"mockjs": "^1.1.0",
"postcss": "^8.4.49",
"postcss-mobile-forever": "^4.3.1",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"typescript": "~5.7.2",
"unocss": "^0.65.3",
"vite": "^6.0.5",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-mock-dev-server": "^1.8.3",
"vite-plugin-svg-icons": "^2.0.1",
"vitest": "^2.1.8"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "npx --no-install commitlint --edit $1"
},
"lint-staged": {
"*": "eslint --fix"
}
}