build: add Cloudflare static export and deploy config

This commit is contained in:
2026-10-13 12:54:06 +03:00
parent b9eddc33ee
commit 4a5c54e922
11 changed files with 369 additions and 4 deletions

View File

@@ -7,6 +7,9 @@
"doc": "docs"
},
"scripts": {
"build:production": "node scripts/export-cloudflare.mjs",
"verify:cloudflare": "node scripts/export-cloudflare.mjs --verify",
"deploy:cloudflare": "npx --yes wrangler@4.129.0 deploy --config wrangler.jsonc",
"dev": "vite --host 127.0.0.1",
"typecheck": "vue-tsc --noEmit",
"test:unit": "vitest run",