docfast/package.json
DocFast Bot a01fbb0357
All checks were successful
Deploy to Production / Deploy to Server (push) Successful in 1m55s
feat: website templating system — shared nav/footer partials, build-time HTML assembly
- Build script: scripts/build-pages.js (zero dependencies, Node.js only)
- Shared partials: nav.html, footer.html (single source of truth)
- 5 page templates in templates/pages/
- Output is byte-for-byte identical to current production
- Run: npm run build:pages
- Also fixes JSON-LD: 2,500 → 5,000 PDFs/month (was inconsistent)
2026-02-16 18:54:17 +00:00

38 lines
987 B
JSON

{
"name": "docfast-api",
"version": "0.2.1",
"description": "Markdown/HTML to PDF API with built-in invoice templates",
"main": "dist/index.js",
"scripts": {
"build:pages": "node scripts/build-pages.js",
"build": "npm run build:pages && tsc",
"start": "node dist/index.js",
"dev": "tsx src/index.ts",
"test": "vitest run"
},
"dependencies": {
"compression": "^1.8.1",
"express": "^4.21.0",
"express-rate-limit": "^7.5.0",
"helmet": "^8.0.0",
"marked": "^15.0.0",
"nanoid": "^5.0.0",
"nodemailer": "^8.0.1",
"pg": "^8.13.0",
"pino": "^10.3.1",
"puppeteer": "^24.0.0",
"stripe": "^20.3.1",
"swagger-ui-dist": "^5.31.0"
},
"devDependencies": {
"@types/compression": "^1.8.1",
"@types/express": "^5.0.0",
"@types/node": "^22.0.0",
"@types/nodemailer": "^7.0.9",
"@types/pg": "^8.11.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"vitest": "^3.0.0"
},
"type": "module"
}