refactor(web): migrate to Bun and TypeScript with README screenshots

This commit is contained in:
Loki 2026-10-24 15:34:41 +02:00
parent 87372041dd
commit d6a9745df0
Signed by: boba
GPG key ID: 253067914055423B
28 changed files with 3152 additions and 386 deletions

View file

@ -5,11 +5,21 @@
"type": "module",
"license": "GPL-3.0-only",
"description": "VNOX public website and central account frontend",
"engines": { "node": ">=22" },
"scripts": {
"dev": "node scripts/serve.mjs",
"build": "node scripts/build.mjs",
"preview": "node scripts/serve.mjs --dist",
"test": "node --test"
"dev": "bun scripts/serve.ts",
"build": "bun run check && bun scripts/build.ts",
"preview": "bun scripts/serve.ts --dist",
"check": "bun x --bun --no-install tsc --noEmit",
"test": "bun test",
"format": "bun fmt src scripts tests public/index.html package.json tsconfig.json",
"format:check": "bun fmt --check src scripts tests public/index.html package.json tsconfig.json"
},
"engines": {
"bun": ">=1.4.4"
},
"packageManager": "bun@1.4.4",
"devDependencies": {
"@types/bun": "1.4.4",
"typescript": "7.0.2"
}
}