Files
2026-11-22 19:49:50 -03:00

49 lines
2.1 KiB
JSON

{
"tasks": {
"build": "deno run -A build.ts",
"serve:client": "deno run --allow-net --allow-read jsr:@std/http/file-server build",
"server": "deno run --unstable-worker-options --allow-net --allow-read --allow-write --allow-env server/main.ts",
"new-mod": "deno run --allow-read --allow-write tools/new_mod.ts",
"import": "deno run --allow-read --allow-write tools/importer.ts",
"check-mods": "deno run --allow-read --allow-run tools/check_mods.ts",
"pack-mod": "deno run --allow-read --allow-write --allow-run --allow-env tools/pack_mod.ts",
"test": "deno test --allow-read --allow-write --allow-run --allow-net tests/",
"bench": "deno bench --allow-read --allow-write --allow-run tests/",
"desktop": "deno run --unstable-webgpu --allow-read --allow-write --allow-net --allow-ffi --allow-env=CUBI_SERVER,CUBI_CLIENT_UPDATES,HOME,USERPROFILE,APPDATA,XDG_DATA_HOME desktop/main.ts",
"compile": "deno run -A tools/compile.ts"
},
"compilerOptions": {
"lib": ["dom", "dom.asynciterable", "dom.iterable", "deno.ns", "deno.unstable", "deno.webgpu"]
},
"unstable": ["bundle", "raw-imports", "worker-options"],
"fmt": {
"useTabs": true,
"indentWidth": 4,
"lineWidth": 120,
"newLineKind": "lf",
"exclude": ["desktop/*.md"]
},
"imports": {
"@/": "./",
"@audio/decode-opus": "npm:@audio/decode-opus@^1.3.3",
"@audio/decode-vorbis": "npm:@audio/decode-vorbis@^1.3.4",
"@std/msgpack": "jsr:@std/msgpack@^1.0.3",
"cubi/server": "./common/mod_api/server.ts",
"cubi/client": "./common/mod_api/client.ts",
"cubi/worldgen": "./common/mod_api/worldgen.ts",
"cubi/shared": "./common/mod_api/shared.ts",
"cubi/content": "./common/mod_api/content.ts",
"cubi/engine": "./common/mod_api/engine.ts",
"@gfx/canvas-wasm": "jsr:@gfx/canvas-wasm@^0.4.2",
"@paulaboks/rng": "jsr:@paulaboks/rng@^0.0.3",
"@std/assert": "jsr:@std/assert@^1.0.0",
"@std/fs": "jsr:@std/fs@^1.0.23",
"@std/http": "jsr:@std/http@^1.0.23",
"@std/path": "jsr:@std/path@^1.0.0",
"fflate": "npm:fflate@^0.8.2",
"gl-matrix": "npm:gl-matrix@^3.4.4",
"marked": "npm:marked@^17.0.3",
"zod": "jsr:@zod/zod@^4.6.7"
}
}