Files
lunarfront-app/packages/backend/package.json
Ryan Moon f47bfdbcdb Add standalone API test runner with accounts and members suites
Custom test framework that starts the backend, creates a test DB, runs
migrations, and hits real HTTP endpoints. Supports --suite and --tag
filtering. 24 tests covering account CRUD, member inheritance, state
normalization, move, search, and auto-generated numbers. Run with
bun run api-test.
2026-03-28 12:52:04 -05:00

38 lines
924 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": "bun run src/db/seed.ts"
},
"dependencies": {
"@fastify/cors": "^10",
"@fastify/jwt": "^9",
"@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"
}
}