-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.3 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "halolight-api-bun",
"version": "1.0.0",
"description": "HaloLight Backend API - Bun/Hono/Drizzle implementation",
"type": "module",
"scripts": {
"dev": "bun --watch src/index.ts",
"dev:cf": "wrangler dev",
"build": "bun build src/index.ts --outdir=dist --target=bun",
"build:vercel": "esbuild api/_entry.ts --bundle --platform=node --target=node18 --format=esm --outfile=api/index.js --external:postgres",
"start": "bun dist/index.js",
"start:prod": "NODE_ENV=production bun dist/index.js",
"deploy:cf": "wrangler deploy",
"deploy:cf:prod": "wrangler deploy --env production",
"deploy:vercel": "pnpm run build:vercel && vercel --prod",
"db:generate": "drizzle-kit generate",
"db:migrate": "bun src/db/migrate.ts",
"db:push": "drizzle-kit push",
"db:studio": "drizzle-kit studio",
"db:seed": "bun src/db/seed.ts",
"db:reset": "drizzle-kit drop && bun run db:push && bun run db:seed",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' --fix",
"format": "prettier --write 'src/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts'",
"type-check": "tsc --noEmit",
"test": "bun test",
"test:watch": "bun test --watch",
"test:coverage": "bun test --coverage",
"test:e2e": "NODE_ENV=test bun test test/e2e/**/*.test.ts",
"clean": "rm -rf dist coverage drizzle/meta"
},
"keywords": [
"halolight",
"api",
"bun",
"hono",
"drizzle",
"typescript"
],
"author": "HaloLight Team",
"license": "MIT",
"dependencies": {
"@neondatabase/serverless": "^0.10.4",
"@hono/swagger-ui": "^0.5.2",
"@hono/zod-validator": "^0.4.1",
"bcryptjs": "^3.0.3",
"drizzle-orm": "^0.36.4",
"drizzle-zod": "^0.5.1",
"hono": "^4.6.15",
"postgres": "^3.4.5",
"zod": "^3.24.1"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241205.0",
"@eslint/js": "^9.18.0",
"@types/bcryptjs": "^3.0.0",
"@types/bun": "^1.1.14",
"@types/node": "^24.10.2",
"drizzle-kit": "^0.30.2",
"esbuild": "^0.27.1",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.14.0",
"prettier": "^3.4.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.21.0",
"wrangler": "^3.99.0"
}
}