Test mod
This commit is contained in:
@@ -2,7 +2,11 @@
|
||||
"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"
|
||||
"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",
|
||||
"check-mods": "deno run --allow-read --allow-run tools/check_mods.ts",
|
||||
"export-bworld": "deno run --allow-read --allow-write --allow-run tools/export_bworld_mod.ts",
|
||||
"test": "deno test --allow-read --allow-write --allow-run tests/"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"lib": ["dom", "dom.asynciterable", "dom.iterable", "deno.ns", "deno.unstable", "deno.webgpu"]
|
||||
@@ -16,8 +20,12 @@
|
||||
},
|
||||
"imports": {
|
||||
"$/": "./",
|
||||
"bworld/server": "./common/mod_api/server.ts",
|
||||
"bworld/client": "./common/mod_api/client.ts",
|
||||
"bworld/worldgen": "./common/mod_api/worldgen.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",
|
||||
"gl-matrix": "npm:gl-matrix@^3.4.4",
|
||||
|
||||
Reference in New Issue
Block a user