add dev server (bun run dev → http://localhost:3000)

This commit is contained in:
Volodia
2026-06-18 12:58:22 +03:00
parent b947fbb7fb
commit 46dc9f2fad
4 changed files with 1145 additions and 8 deletions
+1 -2
View File
@@ -4,9 +4,8 @@
"private": true,
"type": "module",
"scripts": {
"dev": "bun build src/main.ts --outdir dist --target browser --watch",
"dev": "bun run dev.ts",
"build": "bun run build.ts",
"serve": "bun build src/main.ts --outdir dist --target browser && cp src/index.html dist/",
"start": "bun run build && echo 'open dist/index.html'"
}
}