{ "name": "bubblelab-api", "version": "0.1.0", "private": true, "type": "module", "scripts": { "dev": "bun run src/index.ts", "dev:hot": "bun run --hot src/index.ts", "build": "bun build src/index.ts --outdir=dist --target=bun", "start": "bun run src/index.js", "lint": "eslint src/**/*.ts", "typecheck": "tsc --noEmit", "test": "DATABASE_URL=file:./test.db BUBBLE_ENV=test bun test --timeout 50000 --preload ./src/test/setup.ts", "test:coverage": "DATABASE_URL=file:./test.db BUBBLE_ENV=test bun test --coverage --preload ./src/test/setup.ts", "test:coverage:summary": "DATABASE_URL=file:./test.db BUBBLE_ENV=test bun test --coverage --preload ./src/test/setup.ts 2>&1 | tail -20", "test:all": "DATABASE_URL=file:./test.db BUBBLE_ENV=test bun test --preload ./src/test/setup.ts", "test:unit": "DATABASE_URL=file:./test.db BUBBLE_ENV=test bun test --testPathPattern='(?!.*integration)[^.]+\\.test\\.ts$' --preload ./src/test/setup.ts", "db:generate": "drizzle-kit generate", "db:migrate": "drizzle-kit migrate", "db:studio": "drizzle-kit studio", "db:down": "drizzle-kit drop", "db:generate:sqlite": "DATABASE_URL=file:./dev.db drizzle-kit generate", "db:migrate:sqlite": "DATABASE_URL=file:./dev.db drizzle-kit migrate", "db:studio:sqlite": "DATABASE_URL=file:./dev.db drizzle-kit studio", "db:generate:postgres": "DATABASE_URL=postgres://localhost:5432 drizzle-kit generate", "db:migrate:postgres": "DATABASE_URL=postgres://localhost:5432 drizzle-kit migrate", "db:studio:postgres": "DATABASE_URL=postgres://localhost:5432 drizzle-kit studio" }, "dependencies": { "@badgateway/oauth2-client": "^3.3.0", "@clerk/backend": "^2.6.0", "@hono/swagger-ui": "^0.5.2", "@hono/zod-openapi": "=0.18.3", "zod": "=3.25.76", "@libsql/client": "^0.15.10", "@bubblelab/bubble-core": "workspace:*", "@bubblelab/bubble-runtime": "workspace:*", "@bubblelab/shared-schemas": "workspace:*", "drizzle-orm": "^0.44.3", "hono": "^4.9.8", "nanoid": "^5.1.5", "pg": "^8.13.1", "resend": "^4.8.0", "typescript": "^5.8.3" }, "devDependencies": { "@jest/globals": "30.0.4", "@testing-library/jest-dom": "6.6.3", "@types/jest": "^29.5.12", "@types/node": "24.0.15", "@types/pg": "^8.11.10", "@types/supertest": "6.0.3", "@typescript-eslint/eslint-plugin": "^8.37.0", "@typescript-eslint/parser": "^8.37.0", "bun-types": "^1.2.19", "drizzle-kit": "^0.31.4", "eslint": "^9.31.0", "jest": "^29.7.0", "supertest": "7.1.3", "ts-jest": "^29.1.2" } }