mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
One site/cloudflare.config.ts defines the production Worker hex (anoma.ly/hex, bucket hex-production-files) and the dev Worker hex-dev (dev.anoma.ly/hex, bucket hex-dev-files), deployed only from CI with cf deploy --prebuilt --mode. The Worker serves the site and the release bucket; apps, scripts, the release workflow, and docs use https://anoma.ly/hex/files. Staging releases publish to the dev bucket; stable releases deploy the production site.
35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"name": "hex-site",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"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",
|
|
"deploy:dev": "bun scripts/build.ts --mode dev && cf deploy --prebuilt --mode dev",
|
|
"deploy:production": "bun scripts/build.ts --mode production && cf deploy --prebuilt --mode production"
|
|
},
|
|
"dependencies": {
|
|
"@fontsource-variable/inter": "^5.3.0",
|
|
"motion": "^14.0.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"
|
|
}
|
|
}
|