- Add --coverage flag to npm test script - Add lcov coverage reporters for SonarQube integration - Add tests for expired token handling - Add tests for all errorHandler error types - Add tests for validate middleware edge cases - Add coverage exclusions for controllers/services in SonarQube 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
59 lines
1.8 KiB
JSON
Executable File
59 lines
1.8 KiB
JSON
Executable File
{
|
|
"name": "backend",
|
|
"version": "1.0.0",
|
|
"description": "The Tip Top backend API",
|
|
"main": "index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "node index.js",
|
|
"dev": "nodemon index.js",
|
|
"lint": "eslint .",
|
|
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage",
|
|
"test:win": "set NODE_OPTIONS=--experimental-vm-modules && jest",
|
|
"test:integration": "NODE_OPTIONS=--experimental-vm-modules jest --config jest.integration.config.js",
|
|
"db:schema": "psql -h 51.75.24.29 -U postgres -d thetiptop_dev -p 5433 -f database/schema.sql",
|
|
"db:create": "node scripts/create-tables.js",
|
|
"db:seed": "node database/seed.js",
|
|
"db:check": "node scripts/check-database.js",
|
|
"kill": "powershell -ExecutionPolicy Bypass -File ./scripts/kill-server.ps1",
|
|
"fresh": "powershell -ExecutionPolicy Bypass -File ./scripts/start-fresh.ps1",
|
|
"sonar": "sonar-scanner"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"bcrypt": "^6.0.0",
|
|
"bcryptjs": "^3.0.3",
|
|
"cors": "^2.8.5",
|
|
"date-fns": "^4.1.0",
|
|
"dotenv": "^17.2.3",
|
|
"express": "^5.1.0",
|
|
"express-session": "^1.18.2",
|
|
"google-auth-library": "^10.5.0",
|
|
"helmet": "^8.1.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"morgan": "^1.10.1",
|
|
"nodemailer": "^7.0.10",
|
|
"passport": "^0.7.0",
|
|
"passport-facebook": "^3.0.0",
|
|
"passport-google-oauth20": "^2.0.0",
|
|
"pg": "^8.16.3",
|
|
"prom-client": "^15.1.3",
|
|
"uuid": "^13.0.0",
|
|
"zod": "^4.1.12"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.0",
|
|
"cross-env": "^10.1.0",
|
|
"eslint": "^9.39.0",
|
|
"jest": "^30.2.0",
|
|
"nodemon": "^3.1.10",
|
|
"supertest": "^7.1.4"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gitea.wk-archi-o24a-15m-g3.fr/wkadmin/the-tip-top-backend.git"
|
|
}
|
|
}
|