chore: add deployment scripts for production

- Add db:indexes script to create performance indexes
- Add deploy script that runs full deployment pipeline
- Simplify production deployment to single command

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-19 14:28:29 +01:00
parent 130788e3bd
commit acfa08e2de

View File

@@ -11,7 +11,9 @@
"preview": "cd src/frontend && bun run preview",
"db:generate": "drizzle-kit generate",
"db:push": "drizzle-kit push",
"db:migrate": "drizzle-kit migrate"
"db:migrate": "drizzle-kit migrate",
"db:indexes": "bun src/backend/migrations/add-performance-indexes.js",
"deploy": "bun install && bun run db:push && bun run db:indexes && bun run build"
},
"devDependencies": {
"@types/bun": "latest",