Fix local dev API wiring and theme default

This commit is contained in:
2026-04-02 01:31:23 +03:00
parent f5ae311a82
commit dc9e399e5b
8 changed files with 341 additions and 12 deletions

View File

@@ -4,7 +4,8 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"dev": "concurrently \"npm:dev:client\" \"npm:dev:server\"",
"dev:client": "vite",
"dev:server": "tsx server/index.ts",
"build:client": "vite build",
"build:server": "tsc -p tsconfig.server.json --noEmit && esbuild server/index.ts --bundle --platform=node --format=cjs --outfile=server-dist/index.cjs",
@@ -22,6 +23,7 @@
"@types/react-dom": "^19.2.3",
"@types/supertest": "^7.2.0",
"@vitejs/plugin-react": "^6.0.1",
"concurrently": "^9.2.1",
"esbuild": "^0.27.4",
"jsdom": "^29.0.1",
"supertest": "^7.2.2",