- root: bun workspaces via package.json, packageManager bun@1.4.0, scripts use bun --filter - backend: Bun.serve, bun test (vitest removed), bun --watch dev script, tsconfig types bun - tests: migrate 6 test files from vitest to bun:test (mock.module) - validate: replace @hono/zod-validator with hono validator + zod safeParse (fixes TS2589) - lockfile: bunfig.toml saveTextLockfile, regenerated bun.lock (text) for turbo - docs: AGENTS.md, README.md, stack.md updated to Bun stack
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "@gruperly/backend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "bun --watch src/server.ts",
|
|
"start": "bun src/server.ts",
|
|
"build": "prisma generate && tsc",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "bun test",
|
|
"test:watch": "bun test --watch",
|
|
"lint": "biome check .",
|
|
"lint:fix": "biome check . --write",
|
|
"db:generate": "prisma generate",
|
|
"db:migrate": "prisma migrate dev",
|
|
"db:push": "prisma db push",
|
|
"db:studio": "prisma studio"
|
|
},
|
|
"dependencies": {
|
|
"@better-auth/passkey": "^1.7.2",
|
|
"@gruperly/shared": "workspace:*",
|
|
"@prisma/adapter-pg": "^7.10.0",
|
|
"@prisma/client": "^7.10.0",
|
|
"better-auth": "1.7.2",
|
|
"hono": "^4.13.3",
|
|
"nodemailer": "^9.0.6",
|
|
"pino": "^9.5.0",
|
|
"pino-pretty": "^13.0.0",
|
|
"zod": "3.24.2"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.15",
|
|
"@gruperly/config": "workspace:*",
|
|
"@types/bun": "^1.4.0",
|
|
"@types/node": "^20.17.0",
|
|
"@types/nodemailer": "^8.0.1",
|
|
"dotenv": "^16.4.5",
|
|
"prisma": "^7.10.0",
|
|
"typescript": "^5.7.0"
|
|
}
|
|
} |