From bcca9479bb5550745c6a851c05039339ebce82da Mon Sep 17 00:00:00 2001 From: Leopoldadmin Date: Mon, 22 Jun 2026 00:05:49 +0000 Subject: [PATCH] feat: update backend package.json with correct dependencies --- backend/package.json | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/backend/package.json b/backend/package.json index 54214bc..9e9ce18 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,30 +1,27 @@ { "name": "web-cad-backend", - "version": "0.0.1", - "description": "Backend for web-cad - Web-based 2D CAD for Event Seating Plans", + "version": "1.0.0", + "description": "Backend for Web CAD application", "main": "dist/index.js", - "type": "module", "scripts": { - "dev": "nodemon src/index.ts", + "dev": "tsx watch src/index.ts", "build": "tsc", - "start": "node dist/index.js", "test": "vitest", - "lint": "eslint . --ext .ts" + "lint": "eslint . --ext .ts --report-unused-disable-directives --max-warnings 0", + "format": "prettier --write ." }, "dependencies": { - "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" + "fastify": "^5.0.0" }, "devDependencies": { "@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/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" } } \ No newline at end of file