Set fastify to ^4.28.1 in api/package.json and sync the lockfile metadata. npm run build && npm test passed for api and ingest-api. Made-with: Cursor
37 lines
952 B
JSON
37 lines
952 B
JSON
{
|
|
"name": "@errors-bitreport/api",
|
|
"version": "0.1.0",
|
|
"description": "BitReport Error Reporting Platform — Fastify API",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"db:migrate": "bash ../scripts/run-mysql-migrations.sh"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cookie": "^9.3.1",
|
|
"@fastify/helmet": "^11.1.1",
|
|
"@fastify/jwt": "^8.0.1",
|
|
"@fastify/rate-limit": "^9.1.0",
|
|
"@fastify/swagger": "^8.14.0",
|
|
"@fastify/swagger-ui": "^3.0.0",
|
|
"bcrypt": "^5.1.1",
|
|
"fastify": "^4.28.1",
|
|
"mysql2": "^3.11.5",
|
|
"pino": "^9.1.0",
|
|
"prom-client": "^15.1.3",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcrypt": "^5.0.2",
|
|
"@types/node": "^20.14.0",
|
|
"tsx": "^4.15.6",
|
|
"typescript": "^5.4.5",
|
|
"vitest": "^1.6.0"
|
|
}
|
|
}
|