hex/site/package.json
Dax b2b7e56c5b
perf(site): a smoother homepage show with identical pixels (#727)
- WebGPU: upload changed atlas rects through a small staging canvas, once each per
  frame, instead of copying from the 4096² atlas (each copy snapshotted the whole
  canvas); the canvas is opaque, so it says so.
- Canvas 2D: cut each shard's face from the card atlas once instead of clipping the
  card twice a frame per shard.
- Screen break: settled cracks keep their paths, styles and crater gradient; the
  idle glass layer leaves the layout.
- Make the AudioContext when the visitor reaches for the key, stop the hidden
  keycap glow, and drop the unused motion wrapper (~24 KB gzip of first-load JS).
2026-10-31 21:49:35 -04:00

32 lines
939 B
JSON

{
"name": "hex-site",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "bun scripts/release-data.ts --mode dev && vite",
"build": "bun scripts/build.ts",
"preview": "vite preview",
"check:downloads": "bun scripts/check-downloads.ts",
"generate:og": "bun scripts/generate-og.ts",
"generate:poster": "bun scripts/generate-poster.ts",
"generate:og-video": "node scripts/og-video/capture.mjs"
},
"dependencies": {
"@fontsource-variable/inter": "^5.3.0",
"react": "^19.3.0",
"react-dom": "^19.3.0"
},
"devDependencies": {
"@cloudflare/build-output-utils": "0.8.5",
"@cloudflare/vite-plugin": "2.0.0-beta.v.4",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.2",
"cf": "1.0.0-beta.12",
"matter-js": "0.20.0",
"playwright": "^1.63.0",
"typescript": "^7.0.2",
"vite": "^8.3.3"
}
}