feat: scaffold react dashboard

This commit is contained in:
MythEclipse
2026-05-14 20:24:41 +07:00
parent da5e191b0f
commit 71a28085d2
9 changed files with 253 additions and 79 deletions
+10 -1
View File
@@ -6,8 +6,11 @@
"packageManager": "pnpm@10.25.0",
"scripts": {
"dev": "tsx watch src/index.ts",
"dev:server": "tsx watch src/index.ts",
"dev:web": "vite --host 0.0.0.0 frontend",
"start": "tsx src/index.ts",
"build": "tsc --outDir dist",
"build": "pnpm run build:web && tsc --outDir dist",
"build:web": "vite build frontend --outDir ../public/app --emptyOutDir",
"typecheck": "tsc --noEmit",
"lint": "biome check --diagnostic-level=error .",
"format": "biome format --write .",
@@ -22,6 +25,7 @@
"@discordjs/voice": "^0.19.1",
"@snazzah/davey": "^0.1.10",
"@types/pg": "^8.20.0",
"@vitejs/plugin-react": "^6.0.1",
"better-sqlite3": "^12.10.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.15.1",
@@ -38,7 +42,10 @@
"pino-http": "^11.0.0",
"prism-media": "2.0.0-alpha.0",
"prom-client": "^15.1.3",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"sodium-native": "^4.3.2",
"vite": "^8.0.13",
"ws": "^8.20.1",
"zod": "^4.4.3"
},
@@ -48,6 +55,8 @@
"@types/express": "^5.0.6",
"@types/fluent-ffmpeg": "^2.1.28",
"@types/node": "^24.10.1",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/ws": "^8.18.1",
"drizzle-kit": "^0.31.10",
"pino-pretty": "^10.3.1",