-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
103 lines (103 loc) · 3.12 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
{
"name": "vite-vue3-h5-ssr",
"type": "module",
"version": "3.0.0",
"packageManager": "pnpm@9.1.0",
"author": "lincenying <lincenying@qq.com>",
"scripts": {
"prepare": "npx simple-git-hooks",
"serve": "nodemon --watch ./server.dev.ts --exec tsx ./server.dev.ts",
"build": "npm run build:client && npm run build:server && npm run build:server:entry",
"build:client": "vite build --ssrManifest --outDir dist/client",
"build:server": "cross-env VITE_APP_SSR=true vite build --ssr src/entry-server.ts --outDir dist/server",
"build:server:entry": "tsup --entry.server server.prod.ts --format esm --target es2020",
"start": "cross-env NODE_ENV=production node ./dist/server.js",
"generate": "vite build --ssrManifest --outDir dist/static && npm run build:server && tsx ./prerender.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:ts": "vue-tsc --noEmit",
"lint:css": "stylelint '**/*.{css,scss}' --fix"
},
"dependencies": {
"@lincy/utils": "^0.6.0",
"@unhead/ssr": "^1.9.10",
"@unhead/vue": "^1.9.10",
"@vueuse/core": "^10.9.0",
"axios": "^1.6.8",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"ejs": "^3.1.10",
"express": "^4.19.2",
"http-proxy-middleware": "^3.0.0",
"lodash": "^4.17.21",
"md5": "^2.3.0",
"morgan": "^1.10.0",
"pinia": "^2.1.7",
"qs": "^6.12.1",
"request-ip": "^3.3.0",
"serve-static": "2.0.0-beta.2",
"store2": "^2.14.3",
"vant": "4.9.0",
"vue": "3.4.27",
"vue-router": "4.3.2"
},
"devDependencies": {
"@lincy/base-config": "^1.2.1",
"@lincy/eslint-config": "^4.5.1",
"@lincy/stylelint-config": "^1.17.4",
"@lincy/vite-plugin-mock": "^3.0.0",
"@types/compression": "^1.7.5",
"@types/cookie-parser": "^1.4.7",
"@types/ejs": "^3.1.5",
"@types/express": "^4.17.21",
"@types/morgan": "^1.9.9",
"@types/node": "^20.12.11",
"@types/request-ip": "^0.0.41",
"@unocss/eslint-plugin": "^0.60.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue-macros/volar": "^0.19.0",
"@vue/server-renderer": "^3.4.27",
"cross-env": "^7.0.3",
"eslint": "^9.2.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"lru-cache": "^10.2.2",
"mockjs": "^1.1.0",
"nodemon": "^3.1.0",
"postcss": "^8.4.38",
"postcss-px-to-viewport-8-plugin": "^1.2.5",
"sass": "^1.77.0",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.0.2",
"tsx": "^4.9.3",
"typescript": "^5.4.5",
"unocss": "^0.60.0",
"unplugin-auto-import": "^0.17.5",
"unplugin-vue-components": "^0.27.0",
"unplugin-vue-macros": "^2.9.2",
"vite": "^5.2.11",
"vite-plugin-inspect": "^0.8.4",
"vite-plugin-progress": "^0.0.7",
"vue-tsc": "^2.0.16"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"rollup",
"esbuild",
"postcss",
"prettier"
]
}
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{[jt]s?(x),vue,md}": [
"eslint --fix"
],
"*.{css,scss}": "stylelint --fix --allow-empty-input"
}
}