CI / build (push) Canceled after 0s
Lazy-loads html2canvas (separate chunk, only fetched on click) to export the card as a PNG. The button floats on the card's top-right corner, outside the captured element, so it never ends up in the exported image. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
32 lines
854 B
JSON
32 lines
854 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",
|
|
"html2canvas": "^1.4.1",
|
|
"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"
|
|
}
|
|
}
|