feat: update backend package.json with correct dependencies

This commit is contained in:
2026-06-22 00:05:49 +00:00
parent 65b4305f37
commit bcca9479bb
+12 -15
View File
@@ -1,30 +1,27 @@
{ {
"name": "web-cad-backend", "name": "web-cad-backend",
"version": "0.0.1", "version": "1.0.0",
"description": "Backend for web-cad - Web-based 2D CAD for Event Seating Plans", "description": "Backend for Web CAD application",
"main": "dist/index.js", "main": "dist/index.js",
"type": "module",
"scripts": { "scripts": {
"dev": "nodemon src/index.ts", "dev": "tsx watch src/index.ts",
"build": "tsc", "build": "tsc",
"start": "node dist/index.js",
"test": "vitest", "test": "vitest",
"lint": "eslint . --ext .ts" "lint": "eslint . --ext .ts --report-unused-disable-directives --max-warnings 0",
"format": "prettier --write ."
}, },
"dependencies": { "dependencies": {
"fastify": "^5.0.0", "fastify": "^5.0.0"
"@fastify/cors": "^10.0.0",
"@fastify/rate-limit": "^9.0.0",
"@fastify/swagger": "^9.0.0",
"@fastify/swagger-ui": "^5.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^22.0.0", "@types/node": "^22.0.0",
"typescript": "^5.0.0",
"nodemon": "^3.0.0",
"vitest": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0", "@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0", "@typescript-eslint/parser": "^8.0.0",
"eslint": "^9.0.0" "eslint": "^9.0.0",
"eslint-config-prettier": "^9.0.0",
"prettier": "^3.0.0",
"tsx": "^4.0.0",
"typescript": "^5.0.0",
"vitest": "^2.0.0"
} }
} }