forked from revenkroz/vite-vue-ssr-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.89 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
{
"// Needed for Yarn workspaces": "",
"name": "vite-vue-ssr-starter",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"start": "yarn dev",
"dev": "node ./server/index.mjs",
"prod": "yarn build && yarn prod:serve",
"// Build for production": "",
"build": "yarn build:clean && yarn build:vite",
"// Generate static pages for production": "",
"ssg": "yarn build:clean && yarn build:vite && yarn build:prerender",
"build:clean": "rm -rf dist/",
"build:vite": "vite build && vite build --ssr",
"build:prerender": "vite-plugin-ssr prerender",
"// Static serve for production": "",
"ssg:serve": "serve dist/client/ --listen 3000",
"// Run production server": "",
"prod:serve": "NODE_ENV=production node server/index.mjs",
"postinstall": "node ./node_modules/patch-vue-directive-ssr/patch.js"
},
"dependencies": {
"@types/node": "^17.0.8",
"@vitejs/plugin-vue": "^2.0.1",
"@vue/compiler-sfc": "3.2.26",
"@vue/server-renderer": "3.2.26",
"@vueuse/core": "^7.5.3",
"@vueuse/head": "^0.7.4",
"element-plus": "^1.3.0-beta.3",
"fastify": "^3.25.3",
"fastify-cookie": "^5.5.0",
"fastify-static": "^4.5.0",
"middie": "^5.4.0",
"nprogress": "^0.2.0",
"ohmyfetch": "^0.4.14",
"pinia": "^2.0.9",
"serve": "^13.0.2",
"typescript": "^4.5.4",
"vite": "^2.7.12",
"vite-plugin-ssr": "0.3.46",
"vue": "3.2.26"
},
"devDependencies": {
"@rollup/plugin-yaml": "^3.1.0",
"@types/cookie-parser": "^1.4.2",
"patch-vue-directive-ssr": "^0.0.1",
"sass": "^1.45.1",
"unplugin-auto-import": "^0.5.5",
"unplugin-vue-components": "^0.17.11",
"vite-plugin-dynamic-import": "^0.1.1",
"vite-plugin-html": "^2.1.2",
"vite-plugin-style-import": "^1.4.1",
"vite-plugin-svg-icons": "1.0.1",
"vite-plugin-windicss": "^1.6.1",
"vitest": "^0.1.24",
"windicss": "^3.4.2"
}
}