-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 1.18 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
{
"name": "react-ssr-vite",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "nodemon",
"build": "npm run build:client && npm run build:server",
"build:client": "vite build --ssrManifest --outDir ./dist/client",
"build:server": "vite build --ssr src/entry-server.tsx --outDir ./dist/server",
"preview": "cross-env NODE_ENV=production tsx ./index.ts"
},
"dependencies": {
"compression": "^1.7.4",
"consola": "^3.2.3",
"express": "^4.19.2",
"http-status-codes": "^2.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.26.2",
"sirv": "^2.0.4",
"styled-components": "^6.1.13"
},
"devDependencies": {
"@types/compression": "^1.7.5",
"@types/express": "^4.17.21",
"@types/node": "^20.12.7",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@vitejs/plugin-react": "^4.2.1",
"cross-env": "^7.0.3",
"globals": "^15.9.0",
"nodemon": "^3.1.7",
"tsx": "^4.19.1",
"typescript": "^5.4.5",
"vite": "^5.2.10"
}
}