49f1ab07bd
html2canvas re-implements text layout and mangled Persian RTL output (joined words, broken spacing, reordered emails). Switch the rasterizer to html-to-image, which renders through an SVG foreignObject using the browser's native text engine, so Persian shaping/spacing/bidi and oklch() colors all come out right. Peyda is embedded as base64 @font-face via fontEmbedCSS so html-to-image skips its slow document-wide font scan. Drop the now-unused html2canvas dependency. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "cloudhost-frontend",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@react-three/drei": "^10.7.7",
|
|
"@react-three/fiber": "^9.6.1",
|
|
"@react-three/postprocessing": "^3.0.4",
|
|
"@tanstack/react-query": "^5.101.0",
|
|
"axios": "^1.17.0",
|
|
"clsx": "^2.1.0",
|
|
"framer-motion": "^12.40.0",
|
|
"html-to-image": "^1.11.13",
|
|
"jspdf": "^4.2.1",
|
|
"lenis": "^1.3.23",
|
|
"lucide-react": "^1.18.0",
|
|
"next": "16.2.9",
|
|
"react": "^19.2.7",
|
|
"react-dom": "^19.2.7",
|
|
"react-hook-form": "^7.79.0",
|
|
"react-toastify": "^11.1.0",
|
|
"three": "^0.184.0",
|
|
"zustand": "^5.0.14"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.3.1",
|
|
"@types/node": "^24.0.0",
|
|
"@types/react": "^19.2.17",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@types/three": "^0.184.1",
|
|
"eslint": "^9.0.0",
|
|
"eslint-config-next": "16.2.9",
|
|
"postcss": "^8.5.15",
|
|
"tailwindcss": "^4.3.1",
|
|
"typescript": "^6.0.3"
|
|
}
|
|
}
|