Dev seed script creates 8 accounts, 8 members, 16 repair templates, 6 repair tickets in various statuses, and a school batch with 5 instruments. Run with bun run db:seed-dev. Batch detail page now has a status progress bar matching the ticket detail pattern. Add Repair from batch pre-fills the account and contact name. New repair form reads accountId and contactName from search params when linked from a batch.
40 lines
1015 B
JSON
40 lines
1015 B
JSON
{
|
|
"name": "@forte/backend",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "bun --watch run src/main.ts",
|
|
"start": "bun run src/main.ts",
|
|
"test": "bun test",
|
|
"test:watch": "bun test --watch",
|
|
"api-test": "bun run api-tests/run.ts",
|
|
"lint": "eslint src/",
|
|
"db:generate": "bunx drizzle-kit generate",
|
|
"db:migrate": "bunx drizzle-kit migrate",
|
|
"db:seed-dev": "bun run src/db/seeds/dev-seed.ts",
|
|
"db:seed": "bun run src/db/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^10",
|
|
"@fastify/jwt": "^9",
|
|
"@fastify/multipart": "^9.4.0",
|
|
"@fastify/rate-limit": "^10.3.0",
|
|
"@forte/shared": "workspace:*",
|
|
"bcrypt": "^6",
|
|
"drizzle-orm": "^0.38",
|
|
"fastify": "^5",
|
|
"fastify-plugin": "^5",
|
|
"ioredis": "^5",
|
|
"postgres": "^3",
|
|
"zod": "^4"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5",
|
|
"drizzle-kit": "^0.30",
|
|
"pino-pretty": "^13",
|
|
"@types/node": "^22",
|
|
"@types/bcrypt": "^5"
|
|
}
|
|
}
|