-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.99 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 2.99 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "bifrost",
"version": "1.20.0",
"description": "Bifrost - Edge router with Cloudflare Workers and Hono",
"type": "module",
"private": true,
"scripts": {
"dev": "wrangler dev",
"deploy": "wrangler deploy",
"deploy:dev": "wrangler deploy --env dev",
"tail": "wrangler tail",
"lint": "oxlint --ignore-pattern 'scripts/**' --max-warnings=0",
"lint:fix": "oxlint --ignore-pattern 'scripts/**' --fix --max-warnings=0",
"format": "biome format --write .",
"format:check": "biome format .",
"check": "pnpm lint && pnpm format:check && pnpm typecheck && pnpm run test",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"db:generate": "drizzle-kit generate",
"db:migrate:local": "wrangler d1 execute bifrost-analytics --local --file=./drizzle/0000_large_slipstream.sql",
"db:migrate:prod": "wrangler d1 execute bifrost-analytics --remote --file=./drizzle/0000_large_slipstream.sql",
"db:migrate:v1:local": "wrangler d1 execute bifrost-analytics --local --file=./drizzle/0001_add_analytics_fields.sql",
"db:migrate:v1:prod": "wrangler d1 execute bifrost-analytics --remote --file=./drizzle/0001_add_analytics_fields.sql",
"db:migrate:v2:local": "wrangler d1 execute bifrost-analytics --local --file=./drizzle/0002_analytics_indexes.sql",
"db:migrate:v2:prod": "wrangler d1 execute bifrost-analytics --remote --file=./drizzle/0002_analytics_indexes.sql",
"db:studio": "drizzle-kit studio",
"prepare": "husky"
},
"keywords": [
"cloudflare",
"worker",
"hono",
"router"
],
"author": "Henry Chong",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/henrychong-ai/bifrost-router.git"
},
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
"engines": {
"node": ">=24.0.0"
},
"dependencies": {
"@bifrost/shared": "workspace:*",
"drizzle-orm": "^0.45.1",
"hono": "^4.12.9",
"zod": "^4.3.6"
},
"devDependencies": {
"@biomejs/biome": "^2.4.9",
"@cloudflare/vitest-pool-workers": "^0.12.21",
"@cloudflare/workers-types": "^4.20260317.1",
"@vitest/coverage-v8": "^3.1.0",
"drizzle-kit": "^0.31.8",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"oxlint": "^1.57.0",
"typescript": "^5.9.3",
"vitest": "^3.1.0",
"wrangler": "4.77.0"
},
"pnpm": {
"overrides": {
"undici": ">=7.24.0",
"flatted": ">=3.4.2",
"picomatch": ">=4.0.4",
"micromatch>picomatch": "^2.3.2",
"yaml": ">=2.8.3",
"devalue": ">=5.6.4",
"qs": ">=6.14.2",
"minimatch": ">=10.2.3",
"rollup": ">=4.59.0",
"ajv@^6": "^6.14.0"
}
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"oxlint --fix --max-warnings=0",
"biome format --write"
],
"*.json": [
"biome format --write"
]
}
}