-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1.22 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
{
"name": "express-react-ssr",
"private": true,
"version": "1.0.0",
"description": "React.js Server-Side-Rendering template (shopping website) with Express.js and Vite.",
"author": "ramoures - github.com/ramoures",
"repository": {
"type": "git",
"url": "https://github.com/ramoures/express-react-ssr.git"
},
"license": "MIT",
"main": "server.mjs",
"type": "module",
"scripts": {
"build:client": "vite build --outDir dist/shop/client",
"build:server": "vite build --ssr src/entry-server.jsx --outDir dist/shop/server",
"build": "npm run build:client && npm run build:server",
"tw": "npx tailwindcss -i ./src/input.css -o ./src/output.css --watch --minify",
"dev": "node dev.mjs",
"start": "node server.mjs"
},
"dependencies": {
"axios": "^1.7.4",
"compression": "^1.7.4",
"dotenv": "^16.4.5",
"dotenv-expand": "^11.0.6",
"express": "^4.20.0",
"isbot": "^5.1.17",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-router-dom": "^6.24.0"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.2.1",
"cross-env": "^7.0.3",
"tailwindcss": "^3.4.7",
"vite": "^5.4.6",
"vite-plugin-environment": "^1.1.3"
}
}