docfast/package.json
OpenClaw 55172856b1
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 18m42s
chore: upgrade vitest 3.2.4 → 4.0.18
Breaking changes addressed:
- vi.fn() mock factories: arrow → regular functions for constructor support
- Exclude dist/ from test resolution (vitest 4 simplified defaults)
- 672 tests pass, 0 tsc errors
2026-03-12 11:21:03 +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": "^8.3.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": "^4.0.18"
},
"type": "module"
}