docfast/package.json
DocFast Bot 603cbd7061
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 19m30s
Migrate from Express 4 to Express 5
- Upgraded express from ^4.22.1 to ^5.2.1
- Added comprehensive Express 5 migration tests with TDD approach
- All 667 tests passing (663 existing + 4 new migration tests)
- No breaking changes detected in the codebase
- Express 5's native async error handling now active
- TypeScript compilation successful with @types/express ^5.0.6

Express 5 features now available:
- Automatic async error catching in route handlers
- Improved performance and stricter path matching
- Default export import style already in use
2026-03-11 17:08:07 +01:00

44 lines
1.2 KiB
JSON

{
"name": "docfast-api",
"version": "0.5.2",
"description": "Markdown/HTML to PDF API with built-in invoice templates",
"main": "dist/index.js",
"scripts": {
"build:pages": "node scripts/build-html.cjs",
"build": "node scripts/generate-openapi.mjs && npm run build:pages && tsc",
"start": "node dist/index.js",
"dev": "tsx src/index.ts",
"test": "vitest run",
"generate-openapi": "node scripts/generate-openapi.mjs"
},
"dependencies": {
"compression": "^1.8.1",
"express": "^5.1.0",
"express-rate-limit": "^7.5.1",
"helmet": "^8.1.0",
"marked": "^17.0.4",
"nanoid": "^5.1.6",
"nodemailer": "^8.0.2",
"pg": "^8.20.0",
"pino": "^10.3.1",
"puppeteer": "^24.39.0",
"stripe": "^20.4.1",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-dist": "^5.32.0"
},
"devDependencies": {
"@types/compression": "^1.8.1",
"@types/express": "^5.0.6",
"@types/node": "^25.4.0",
"@types/nodemailer": "^7.0.11",
"@types/pg": "^8.18.0",
"@types/supertest": "^7.2.0",
"@types/swagger-jsdoc": "^6.0.4",
"supertest": "^7.2.2",
"terser": "^5.46.0",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vitest": "^3.2.4"
},
"type": "module"
}