- Remove free account signup flow entirely - Add POST /v1/demo/html and /v1/demo/markdown (public, no auth) - Demo: 5 requests/hour per IP, 50KB body limit, watermarked PDFs - Landing page: interactive playground replaces 'Get Free API Key' - Pricing: Demo (free) + Pro (€9/mo), no more Free tier - /v1/signup returns 410 Gone with redirect to demo/pro - Keep /v1/recover for existing Pro users - Update JSON-LD, API discovery, verify page text
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"name": "docfast-api",
|
|
"version": "0.4.0",
|
|
"description": "Markdown/HTML to PDF API with built-in invoice templates",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build:pages": "node scripts/build-pages.js && npx terser public/app.js -o public/app.min.js --compress --mangle",
|
|
"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",
|
|
"terser": "^5.46.0",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.0.0"
|
|
},
|
|
"type": "module"
|
|
}
|