- Extract pure utility functions to lib/utils.ts for testability - Add 28 unit tests covering: computeNextDueDate, resetSubtasks, parseTaskIdentifier, validators, statusSortOrder - Add Gitea Actions workflow (.gitea/workflows/ci.yml) that runs tests and type checking on push/PR to main - Refactor tasks.ts to use extracted utils
26 lines
626 B
JSON
26 lines
626 B
JSON
{
|
|
"name": "hammer-queue-backend",
|
|
"version": "0.1.0",
|
|
"scripts": {
|
|
"dev": "bun run --watch src/index.ts",
|
|
"start": "bun run src/index.ts",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"db:push": "drizzle-kit push",
|
|
"db:studio": "drizzle-kit studio",
|
|
"test": "bun test",
|
|
"test:ci": "bun test --bail"
|
|
},
|
|
"dependencies": {
|
|
"@elysiajs/cors": "^1.2.0",
|
|
"better-auth": "^1.4.17",
|
|
"drizzle-orm": "^0.44.2",
|
|
"elysia": "^1.2.25",
|
|
"postgres": "^3.4.5"
|
|
},
|
|
"devDependencies": {
|
|
"drizzle-kit": "^0.31.1",
|
|
"@types/bun": "latest"
|
|
}
|
|
}
|