34 lines
1.0 KiB
JSON
34 lines
1.0 KiB
JSON
{
|
|
"name": "one-api-workers",
|
|
"workspaces": [
|
|
"frontend"
|
|
],
|
|
"scripts": {
|
|
"dev": "concurrently --kill-others-on-fail -n web,worker -c cyan,green \"bun run dev:web\" \"bun run dev:worker\"",
|
|
"dev:web": "bun run --filter frontend dev",
|
|
"dev:worker": "wrangler dev --config wrangler.local.jsonc --local --host localhost",
|
|
"build": "bun run --filter frontend build",
|
|
"deploy": "bun run build && wrangler deploy --config wrangler.jsonc --minify",
|
|
"cf-typegen": "wrangler types --config wrangler.jsonc --include-env=false"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Tokinx/one-api-workers.git"
|
|
},
|
|
"homepage": "https://github.com/Tokinx/one-api-workers",
|
|
"bugs": {
|
|
"url": "https://github.com/Tokinx/one-api-workers/issues"
|
|
},
|
|
"dependencies": {
|
|
"chanfana": "^2.8.3",
|
|
"hono": "^4.12.8",
|
|
"zod": "^3.25.76"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^9.2.1",
|
|
"typescript": "^5.9.3",
|
|
"wrangler": "^4.61.1"
|
|
},
|
|
"packageManager": "bun@1.3.11"
|
|
}
|