-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
113 lines (113 loc) · 3.5 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
{
"name": "mmf-blog-vite-vue3-ssr",
"type": "module",
"version": "2.0.2",
"private": true,
"packageManager": "[email protected]",
"author": "lincenying <[email protected]>",
"engines": {
"node": ">=16.13.0"
},
"scripts": {
"serve": "nodemon --watch ./server.dev.ts --exec tsx ./server.dev.ts",
"build": "tsx polyfill.ts && 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",
"workbox": "workbox generateSW workbox-config.js",
"lint": "eslint .",
"lint:ts": "vue-tsc --noEmit",
"lint:fix": "eslint . --fix",
"lint:css": "stylelint '**/*.{css,scss}' --fix --allow-empty-input"
},
"dependencies": {
"@kangc/v-md-editor": "^2.3.18",
"@lincy/utils": "^0.6.1",
"@unhead/ssr": "^1.11.16",
"@unhead/vue": "^1.11.16",
"@vue/server-renderer": "^3.5.13",
"@vueuse/core": "^12.4.0",
"axios": "^1.7.9",
"compression": "^1.7.5",
"cookie-parser": "^1.4.7",
"element-plus": "^2.9.3",
"express": "^4.21.2",
"http-proxy-middleware": "^3.0.3",
"js-cookie": "^3.0.5",
"lodash": "^4.17.21",
"lru-cache": "^11.0.2",
"md5": "^2.3.0",
"morgan": "^1.10.0",
"pinia": "^2.3.0",
"prismjs": "^1.29.0",
"qs": "^6.13.1",
"request-ip": "^3.3.0",
"serve-static": "^1.16.2",
"store2": "^2.14.4",
"vue": "^3.5.13",
"vue-content-loader": "^2.0.1",
"vue-loading-overlay": "^6.0.6",
"vue-router": "^4.5.0"
},
"devDependencies": {
"@lincy/eslint-config": "^5.4.0",
"@lincy/stylelint-config": "^2.0.1",
"@lincy/unocss-base-config": "^2.0.1",
"@types/compression": "^1.7.5",
"@types/cookie-parser": "^1.4.8",
"@types/express": "^5.0.0",
"@types/js-cookie": "^3.0.6",
"@types/lodash": "^4.17.14",
"@types/md5": "^2.3.5",
"@types/morgan": "^1.9.9",
"@types/polyfill-library": "^3.108.4",
"@types/prismjs": "^1.26.5",
"@types/request-ip": "^0.0.41",
"@types/serve-static": "^1.15.7",
"@unocss/eslint-plugin": "^65.4.0",
"@vitejs/plugin-vue": "^5.2.1",
"@vitejs/plugin-vue-jsx": "^4.1.1",
"@vue/compiler-sfc": "^3.5.13",
"cross-env": "^7.0.3",
"eslint": "^9.18.0",
"eslint-plugin-format": "^1.0.1",
"lint-staged": "^15.3.0",
"mockjs": "^1.1.0",
"nodemon": "^3.1.9",
"polyfill-library": "^4.8.0",
"postcss": "^8.4.49",
"sass": "^1.83.1",
"simple-git-hooks": "^2.11.1",
"stylelint": "^16.13.0",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"unocss": "^65.4.0",
"unplugin-auto-import": "^19.0.0",
"unplugin-vue-components": "^28.0.0",
"unplugin-vue-macros": "^2.13.8",
"vite": "^6.0.7",
"vite-plugin-mock": "^3.0.2",
"vite-plugin-pwa": "^0.21.1",
"vue-tsc": "^2.2.0"
},
"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"
}
}