Skip to main content
Module

x/wasmbuild/deno.jsonc

Build tool to use Rust code in Deno and the browser.
Latest
File
{ "exclude": [ "./tests/target", "./target" ], "compilerOptions": { "checkJs": true }, "tasks": { "fmt": "deno fmt && cargo fmt", "build": "deno run -A ./main.ts -p wasmbuild", "build:bindgen-upgrade": "WASMBUILD_BINDGEN_UPGRADE=1 deno task build", "build:lkg": "deno run -A https://deno.land/x/wasmbuild@0.15.2/main.ts -p wasmbuild", "test": "cd tests && rm -rf lib lib_out_js_file lib_sync lib_no_cache && deno task test:main && deno task test:no-cache && deno task test:sync && deno task test:js-ext && deno test -A && deno task test:check", "test:main": "cd tests && deno run -A ../main.ts -p deno_test", "test:sync": "deno task test:main --sync --out lib_sync", "test:no-cache": "deno task test:main --no-cache --out lib_no_cache", "test:js-ext": "deno task test:main --js-ext mjs --out lib_out_js_file && cat tests/lib_out_js_file/deno_test.generated.mjs > /dev/null", "test:check": "deno task test:main --check && deno task test:sync --check" }}