Skip to content
1        10        20        30        40        50        60        70        80        90        1001[tools]2bun = "1.4.4"34[tasks.install]5description = "Install dependencies with bun"6run = "bun install"7sources = ["package.json", "bun.lock"]8outputs = ["node_modules/vite/package.json", "node_modules/three/package.json"]910[tasks.dev]11description = "Install dependencies if needed and start the game dev server"12depends = ["install"]13run = "bun run dev"1415[tasks.build]16description = "Build the game for production into dist/"17depends = ["install"]18run = "bun run build"1920[tasks.deploy]21description = "Build the game and upload dist/ to Cloudflare Workers (requires `bunx wrangler login` once)"22depends = ["build"]23run = "bun run deploy"