-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.71 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
46
47
48
49
50
51
52
53
54
{
"name": "ssr-react-vite",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "nodemon ./server",
"serve": "NODE_ENV=production node dist/server.cjs",
"build": "pnpm tsc && pnpm build:client && pnpm build:ssr && pnpm build:server",
"build:client": "vite build --outDir ./dist/client",
"build:ssr": "vite build --outDir ./dist/ssr --ssr ./src/entry-server.tsx",
"build:server": "node esbuild.config.mjs",
"lint": "eslint . --ext .jsx,.js,.ts,.tsx --report-unused-disable-directives --fix --max-warnings 0",
"tsc": "tsc --noEmit"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.1"
},
"devDependencies": {
"@feature-sliced/eslint-config": "0.1.0-beta.6",
"@types/express": "^4.17.21",
"@types/node": "^20.10.6",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@types/serve-static": "^1.15.5",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"dotenv": "^16.3.1",
"esbuild": "^0.19.11",
"esbuild-node-externals": "^1.12.0",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"express": "^4.18.2",
"nodemon": "^3.0.2",
"prettier": "^3.1.1",
"serve-static": "^1.15.0",
"typescript": "^5.2.2",
"vite": "^5.0.8",
"vite-node": "^1.1.1",
"vite-tsconfig-paths": "^4.2.3"
},
"nodemonConfig": {
"ext": "ts",
"exec": "vite-node"
}
}