-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
34 lines (34 loc) · 1.25 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
{
"name": "test-ssr-vue",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "node server",
"build": "npm run build:client && npm run build:server",
"build:noExternal": "npm run build:client && npm run 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 && npm run build:server && node prerender",
"serve": "cross-env NODE_ENV=production node --experimental-json-modules server",
"debug": "node --inspect-brk server"
},
"dependencies": {
"example-external-component": "file:example-external-component",
"vant": "^3.5.2",
"vite": "^3.0.0",
"vue": "^3.2.37",
"vue-router": "^4.1.1",
"vuex": "^4.0.2"
},
"devDependencies": {
"@vitejs/plugin-vue": "workspace:*",
"@vitejs/plugin-vue-jsx": "workspace:*",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"dep-import-type": "link:./dep-import-type",
"express": "^4.18.1",
"serve-static": "^1.15.0"
}
}