clone

an endless marble-race generator in the browser; the url is the seed, so every track can be shared

main
marbles / deno.json
deno.json 1.6K
1{2 "tasks": {3 "dev": "deno task build & deno task build:watch & deno run --allow-net --allow-read --allow-env=PORT src/server/main.ts",4 "serve": "deno run --allow-net --allow-read --allow-env=PORT src/server/main.ts",5 "build": "deno bundle --platform browser --sourcemap=linked -o static/dist/app.js src/client/main.ts",6 "build:physics": "bash tools/build_physics.sh",7 "build:site": "deno task build:physics && deno task build && deno run --allow-read=static,assets --allow-write=output/site tools/package_site.ts",8 "build:watch": "deno bundle --platform browser --sourcemap=linked --watch -o static/dist/app.js src/client/main.ts",9 "assets:import": "deno run --allow-read --allow-write --allow-env --allow-ffi tools/import_assets.ts",10 "check": "deno check src/ tools/ tests/",11 "test": "deno test --allow-read tests/",12 "fmt": "deno fmt",13 "lint": "deno lint"14 },15 "imports": {16 "@gltf-transform/extensions": "npm:@gltf-transform/extensions@^4.4.2",17 "@std/assert": "jsr:@std/assert@^1.0.19",18 "three": "npm:three@0.180.0",19 "three/addons/": "npm:/three@0.180.0/examples/jsm/",20 "@std/http": "jsr:@std/http@^1",21 "@std/path": "jsr:@std/path@^1",22 "@std/cli": "jsr:@std/cli@^1",23 "@gltf-transform/core": "npm:@gltf-transform/core@^4",24 "@gltf-transform/functions": "npm:@gltf-transform/functions@^4"25 },26 "compilerOptions": {27 "lib": ["dom", "dom.iterable", "deno.ns"],28 "strict": true29 },30 "fmt": {31 "exclude": ["static/dist/", "assets/"]32 },33 "lint": {34 "exclude": ["static/dist/", "assets/"]35 }36}