-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.34 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
45
{
"name": "vite-ssr",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"lint": "eslint .",
"dev": "nodemon --watch src/ssr-server --exec 'esno src/ssr-server/index.ts' -e ts",
"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",
"preview": "NODE_ENV=production esno src/ssr-server/index.ts"
},
"dependencies": {
"axios": "^1.7.7",
"express": "^4.21.1",
"fs-extra": "^11.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-helmet": "^6.1.0",
"serve-static": "^1.16.2",
"source-map": "^0.7.4",
"stacktrace-parser": "^0.1.10"
},
"devDependencies": {
"@eslint/js": "^9.11.1",
"@types/express": "^5.0.0",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.9.0",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"@types/react-helmet": "^6.1.11",
"@types/serve-static": "^1.15.7",
"@vitejs/plugin-react": "^4.3.2",
"eslint": "^9.11.1",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.12",
"esno": "^4.8.0",
"globals": "^15.9.0",
"nodemon": "^3.1.7",
"typescript": "^5.5.3",
"typescript-eslint": "^8.7.0",
"vite": "^5.4.8"
}
}