refactor(web): migrate to Bun and TypeScript with README screenshots
This commit is contained in:
parent
87372041dd
commit
d6a9745df0
28 changed files with 3152 additions and 386 deletions
20
package.json
20
package.json
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue