-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
42 lines (42 loc) · 1.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
{
"name": "bff",
"version": "0.0.0",
"scripts": {
"dev": "node -r ts-node/register 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/app/client",
"build:server": "vite build --ssr ./ssr/server.ts --outDir dist/app/server",
"build:server:noExternal": "vite build --config vite.config.noexternal.ts --ssr ./ssr/server.ts --outDir dist/app/server",
"generate": "vite build --ssrManifest --outDir dist/app/static && npm run build:server && node -r ts-node/register ssr/prerender",
"serve": "cross-env NODE_ENV=production ts-node server",
"debug": "node --inspect-brk server"
},
"dependencies": {
"@koa/router": "^10.1.1",
"element-plus": "^1.2.0-beta.2",
"koa": "^2.13.4",
"koa-connect": "^2.1.0",
"koa-static": "^5.0.0",
"vue": "^3.2.16",
"vue-router": "^4.0.12",
"windicss": "^3.2.1"
},
"devDependencies": {
"@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.9",
"@types/node": "^16.11.6",
"@vitejs/plugin-legacy": "^1.6.2",
"@vitejs/plugin-vue": "^1.9.3",
"@vitejs/plugin-vue-jsx": "^1.2.0",
"cross-env": "^7.0.3",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.11.0",
"typescript": "^4.4.3",
"unplugin-vue-components": "^0.17.2",
"vite": "^2.6.4",
"vite-plugin-style-import": "^1.3.0",
"vite-plugin-windicss": "^1.5.1",
"vue-tsc": "^0.3.0"
}
}