Reconcile 6-week divergence: Gitea main (injection-defense, output-defense, prompt-guard-client, admin-auth, start-with-env, dashboard-v2, savings-calculator, race-mode, gamification + 13 more modules) merged with Erik's deployed features (usage-report endpoint, per-device entries, CEST timezone, cost-panel, bridge routing). ecosystem.config.cjs excluded (live token, never commit).
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"name": "@llm-gateway/gateway",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/server.ts",
|
|
"build": "tsc && npm run build:copy-assets",
|
|
"build:copy-assets": "mkdir -p dist/db/migrations dist/config dist/public && cp -r src/db/migrations/*.sql dist/db/migrations/ 2>/dev/null || true && cp -r src/config/*.yaml dist/config/ 2>/dev/null || true && cp -r public/* dist/public/ 2>/dev/null || true",
|
|
"start": "node dist/server.js",
|
|
"test": "vitest",
|
|
"prestart": "node scripts/check-build-drift.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^10.1.0",
|
|
"@fastify/helmet": "^12.0.1",
|
|
"@fastify/rate-limit": "^10.3.0",
|
|
"@fastify/static": "^8.3.0",
|
|
"ajv": "^8.17.1",
|
|
"fastify": "^5.8.5",
|
|
"fastify-plugin": "^5.1.0",
|
|
"franc": "^6.2.0",
|
|
"jose": "^5.4.0",
|
|
"js-yaml": "^4.1.0",
|
|
"opossum": "^8.1.3",
|
|
"pg": "^8.13.1",
|
|
"pg-boss": "^10.1.3",
|
|
"pino": "^9.5.0",
|
|
"prom-client": "^15.1.3",
|
|
"yaml": "^2.9.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^22.10.6",
|
|
"@types/opossum": "^8.1.9",
|
|
"@types/pg": "^8.11.10",
|
|
"pino-pretty": "^13.1.3",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.2",
|
|
"vitest": "^2.1.8"
|
|
}
|
|
}
|