-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 1.08 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
{
"name": "react-vite-ssr-tailwind-sass-express",
"description": "React Vite SSR Tailwind Sass Express",
"private": true,
"version": "1.0.0",
"type": "module",
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"dev": "cross-env NODE_ENV=development 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.jsx --outDir dist/server",
"generate": "vite build --outDir dist/client && npm run build:server && node prerender",
"serve": "cross-env NODE_ENV=production node server",
"debug": "node --inspect-brk server"
},
"dependencies": {
"cross-env": "^7.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.17.0",
"sass": "^1.69.4",
"vite": "^4.5.0"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.1.0",
"autoprefixer": "^10.4.16",
"compression": "^1.7.4",
"express": "^4.18.2",
"postcss": "^8.4.31",
"serve-static": "^1.15.0",
"tailwindcss": "^3.3.3"
}
}