forked from mengdu/vite-react-ssr
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
44 lines (44 loc) · 1.35 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
{
"name": "test-ssr-react",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "node server",
"build": "yarn build:client && yarn build:server",
"build:client": "vite build --outDir dist/client",
"build:server": "vite build --ssr src/entry-server.tsx --outDir dist/server",
"generate": "vite build --outDir dist/static && yarn build:server && node prerender",
"serve": "cross-env NODE_ENV=production node server",
"debug": "node --inspect-brk server"
},
"dependencies": {
"@loadable/component": "^5.15.0",
"@types/lodash": "^4.14.170",
"axios": "^0.21.1",
"compression": "^1.7.4",
"lodash": "^4.17.21",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-router": "^5.2.0",
"react-router-config": "^5.1.1",
"react-router-dom": "^5.2.0",
"serve-static": "^1.14.1"
},
"devDependencies": {
"@types/node": "^15.12.4",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.8",
"@types/react-router-config": "^5.0.2",
"@types/react-router-dom": "^5.1.7",
"@vitejs/plugin-react-refresh": "^1.3.3",
"autoprefixer": "10.2.6",
"cross-env": "^7.0.3",
"postcss": "8.3.5",
"postcss-nested": "5.0.5",
"rollup-plugin-visualizer": "5.5.0",
"tailwindcss": "2.2.4",
"vite": "^2.3.8",
"vite-tsconfig-paths": "3.3.13"
}
}