srs-api/package.json
Aswin Biju 6851d66b38 feat: SRS backend: orders intake, results pipeline, user management
Fastify + TypeScript + SQLite backend for a single Kerala lottery agency.
2026-11-03 10:09:46 +05:30

34 lines
903 B
JSON

{
"name": "srs-api",
"version": "0.1.0",
"private": true,
"description": "SRS backend: order parser, WhatsApp conversation flow, shops/users API for the PWA",
"engines": {
"node": ">=22"
},
"scripts": {
"dev": "tsx watch src/server.ts",
"build": "tsc -p tsconfig.build.json && node scripts/copy-migrations.mjs",
"start": "node dist/server.js",
"migrate": "tsx src/db/migrate.ts",
"migrate:prod": "node dist/db/migrate.js",
"user": "tsx scripts/user.ts",
"results": "tsx scripts/results.ts",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"better-sqlite3": "^12.0.0",
"fastify": "^5.0.0",
"zod": "^4.0.0"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^22.0.0",
"tsx": "^4.20.0",
"typescript": "^5.9.0",
"vitest": "^3.2.0"
}
}