-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
30 lines (30 loc) · 857 Bytes
/
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
{
"name": "vite-react-ssr",
"version": "0.0.0",
"scripts": {
"dev": "node server.js",
"build": "npm run build:client && npm run build:server",
"build:client": "vite build --outDir dist/client",
"build:server": "vite build --ssr src/entry-server.tsx --outDir dist/server",
"serve": "cross-env NODE_ENV=production node server"
},
"dependencies": {
"antd": "^4.16.13",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@types/compression": "^1.7.2",
"@types/express": "^4.17.13",
"@types/react": "^17.0.36",
"@types/react-dom": "^17.0.11",
"@vitejs/plugin-react": "^1.0.9",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.17.1",
"less": "^4.1.2",
"typescript": "^4.5.2",
"vite": "^2.6.14",
"vite-plugin-style-import": "^1.4.0"
}
}