Implement PDF export feature with both synchronous and asynchronous modes. Includes: - New cv-export-server service using Puppeteer - Shared printable HTML builder module - ExportControls React component with job status tracking - Classic template for PDF output - API endpoints for job management The system supports cancelable async jobs with polling and error handling. Both client and server share the same HTML rendering logic via the shared-printable module.
22 lines
464 B
JSON
22 lines
464 B
JSON
{
|
|
"name": "cv-export-server",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"type": "module",
|
|
"main": "server.js",
|
|
"scripts": {
|
|
"start": "node server.js",
|
|
"dev": "NODE_ENV=development node server.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"cors": "^2.8.5",
|
|
"express": "^5.1.0",
|
|
"puppeteer": "^24.23.0",
|
|
"sanitize-html": "^2.17.0"
|
|
}
|
|
}
|