Files
react-website/package.json
T
MehboobKandClaude Sonnet 5 ca838ba287
CI / build (push) Canceled after 0s
Gate the ROI calculator behind a registration form, add strategy deck
Replaces the open calculator with the intended flow: visitors register
(name, company, title, business email, region, device count) to unlock
a 15-slide Strategy Deck viewer and the ROI Calculator. Both the deck
and a personalised ROI report now download as real PowerPoint files,
built client-side with JSZip by patching the deck template's XML.
Registration and report downloads are captured as enquiries via the
existing /api/leads endpoint. Drops the old PNG results-slide export
(html2canvas) in favour of the PPTX report.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-26 14:34:13 +05:00

32 lines
849 B
JSON

{
"name": "blackdice-website-react",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "node scripts/dev.mjs",
"dev:web": "vite",
"dev:api": "node server/index.mjs",
"build": "tsc --noEmit && node scripts/generate-sitemap.mjs && vite build",
"start": "node server/index.mjs",
"preview": "vite preview",
"cms:ids": "node scripts/inject-cms-ids.mjs",
"cms:import": "node scripts/seed-content.mjs"
},
"dependencies": {
"framer-motion": "^11.18.2",
"jszip": "^3.10.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.26.2",
"sanitize-html": "^2.17.7"
},
"devDependencies": {
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"typescript": "^5.5.3",
"vite": "^5.4.2"
}
}