-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
33 lines (33 loc) · 1.17 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
{
"name": "test-ssr-vue",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "node server",
"build": "yarn build:client && yarn build:server",
"build:noExternal": "yarn build:client && yarn build:server:noExternal",
"build:client": "vite build --ssrManifest --outDir dist/client",
"build:server": "vite build --ssr src/entry-server.js --outDir dist/server",
"build:server:noExternal": "vite build --config vite.config.noexternal.js --ssr src/entry-server.js --outDir dist/server",
"generate": "vite build --ssrManifest --outDir dist/static && yarn build:server && node prerender",
"serve": "cross-env NODE_ENV=production node server",
"debug": "node --inspect-brk server"
},
"dependencies": {
"vue": "^3.2.6",
"vue-router": "^4.0.3"
},
"devDependencies": {
"@vitejs/plugin-legacy": "^1.5.2",
"@vitejs/plugin-vue": "^1.0.0",
"@vitejs/plugin-vue-jsx": "^1.1.2",
"@vue/compiler-sfc": "^3.2.6",
"@vue/server-renderer": "^3.2.6",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"dep-import-type": "link:./dep-import-type",
"express": "^4.17.1",
"serve-static": "^1.14.1",
"vite": "^2.5.3"
}
}