Files
minabot/package.json
syntaxbullet 29bf75760b feat(db): add Drizzle ORM with local SQLite storage
Configure Bun SQLite with WAL mode, foreign keys, and a shared database path for development and production.

Add migration commands and startup migration handling, check database connectivity in the health endpoint, and document configuration while excluding local database files from Git.
2026-09-04 07:50:14 +02:00

36 lines
930 B
JSON

{
"name": "minabot",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "bun run db:migrate && bun --hot src/index.ts",
"start": "bun run db:migrate && bun scripts/start.ts",
"build": "bun run build.ts",
"typecheck": "tsc --noEmit",
"db:generate": "bunx --bun drizzle-kit generate",
"db:migrate": "bun scripts/migrate.ts"
},
"dependencies": {
"bun-plugin-tailwind": "^0.1.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"drizzle-orm": "^0.45.2",
"hono": "^4.13.5",
"lucide-react": "^1",
"react": "^19",
"react-dom": "^19",
"react-router": "^8.3.1",
"tailwind-merge": "^3.3.1",
"tw-animate-css": "^1.4.0"
},
"devDependencies": {
"@types/bun": "latest",
"@types/react": "^19",
"@types/react-dom": "^19",
"drizzle-kit": "^0.31.10",
"tailwindcss": "^4.1.11",
"typescript": "^7.0.2"
}
}