- restructure from src/ + server/ to src/client/ + src/server/ + src/shared/ - switch backend runtime from Node (tsx) to Bun - merge server/package.json into root, remove @hono/node-server + tsx - convert server @/ imports to relative paths - standardize biome config (lineWidth 80, quoteStyle double) - add CLAUDE.md, .env.example at root - update vite.config, tsconfig, deploy.sh for new structure Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
72 lines
1.9 KiB
JSON
72 lines
1.9 KiB
JSON
{
|
|
"name": "abgeordnetenwatch-pwa",
|
|
"version": "2026.03.01",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"dev:server": "bun --watch src/server/index.ts",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"start": "bun run src/server/index.ts",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"lint": "biome check .",
|
|
"lint:fix": "biome check --fix .",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"prepare": "simple-git-hooks"
|
|
},
|
|
"dependencies": {
|
|
"@electric-sql/pglite": "^0.3.15",
|
|
"@tanstack/react-router": "^1.120.3",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"drizzle-orm": "^0.44.0",
|
|
"hono": "^4.7.0",
|
|
"lucide-react": "^0.575.0",
|
|
"pg-boss": "^10.1.0",
|
|
"postgres": "^3.4.0",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"tailwind-merge": "^3.5.0",
|
|
"web-push": "^3.6.7",
|
|
"zod": "^3.24.3",
|
|
"zustand": "^5.0.11"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^1.9.4",
|
|
"@tailwindcss/vite": "^4.1.4",
|
|
"@tanstack/router-plugin": "^1.120.3",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@types/node": "^25.3.3",
|
|
"@types/react": "^19.1.2",
|
|
"@types/react-dom": "^19.1.2",
|
|
"@types/web-push": "^3.6.0",
|
|
"@vitejs/plugin-react": "^4.5.1",
|
|
"drizzle-kit": "^0.31.0",
|
|
"jsdom": "^26.1.0",
|
|
"lint-staged": "^16.1.0",
|
|
"shadcn": "^3.8.5",
|
|
"simple-git-hooks": "^2.11.1",
|
|
"tailwindcss": "^4.1.4",
|
|
"tw-animate-css": "^1.4.0",
|
|
"typescript": "^5.8.3",
|
|
"vite": "^6.3.5",
|
|
"vite-plugin-pwa": "^1.0.0",
|
|
"vitest": "^3.2.1",
|
|
"workbox-core": "^7.4.0",
|
|
"workbox-expiration": "^7.4.0",
|
|
"workbox-precaching": "^7.3.0",
|
|
"workbox-routing": "^7.3.0",
|
|
"workbox-strategies": "^7.3.0"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "bunx lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,json,css}": ["biome check --fix --no-errors-on-unmatched"]
|
|
}
|
|
}
|