First frontend

This commit is contained in:
2026-04-30 21:37:21 +02:00
parent c3e98af5b6
commit ac48e03404
16 changed files with 1764 additions and 5 deletions
+12 -2
View File
@@ -4,8 +4,12 @@
"description": "",
"main": "dist/server/index.js",
"scripts": {
"dev": "tsx watch src/server/index.ts",
"build": "tsc -p tsconfig.json",
"dev": "npm run dev:api",
"dev:api": "tsx watch src/server/index.ts",
"dev:web": "next dev -p 3001",
"build": "npm run build:api",
"build:api": "tsc -p tsconfig.json",
"build:web": "next build",
"start": "node dist/server/index.js",
"test": "tsx --test tests/power-calculation.test.ts",
"test:watch": "tsx --watch --test tests/power-calculation.test.ts",
@@ -19,12 +23,18 @@
"better-sqlite3": "^12.9.0",
"drizzle-orm": "^0.45.2",
"express": "^5.2.1",
"lucide-react": "^1.14.0",
"next": "^16.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"zod": "^4.4.1"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/express": "^5.0.6",
"@types/node": "^25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"drizzle-kit": "^0.31.10",
"tsx": "^4.21.0",
"typescript": "^6.0.3"