- Report service: data collection from all three engines, HTML rendering (Handlebars), PDF generation (pdfkit) - REST API: /reports endpoints for generate, history, view, PDF download, scheduling - BullMQ workers: queued report generation with retry, monthly/annual scheduler triggers - DB: SecurityReport model with Prisma schema and type exports - Email: report_ready template in shared-notifications - All dependencies wired through existing packages Co-Authored-By: Paperclip <noreply@paperclip.ing>
28 lines
575 B
JSON
28 lines
575 B
JSON
{
|
|
"name": "@shieldai/report",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run",
|
|
"lint": "eslint src/"
|
|
},
|
|
"dependencies": {
|
|
"@shieldai/db": "workspace:*",
|
|
"@shieldai/types": "workspace:*",
|
|
"handlebars": "^4.7.8",
|
|
"pdfkit": "^0.15.0"
|
|
},
|
|
"devDependencies": {
|
|
"vitest": "^4.1.5",
|
|
"@vitest/coverage-v8": "^4.1.5",
|
|
"@types/handlebars": "^4.1.0",
|
|
"@types/pdfkit": "^0.13.3"
|
|
},
|
|
"exports": {
|
|
".": "./src/index.ts"
|
|
}
|
|
}
|