-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathdeno.json
43 lines (43 loc) · 1.47 KB
/
deno.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "@deno/wasmbuild",
"exports": "./main.ts",
"exclude": [
"./tests/target",
"./target"
],
"publish": {
"exclude": [
"**/*_test.ts",
"tests/",
"rs_lib/",
"**/*.toml",
"**/*.lock"
]
},
"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 jsr:@deno/wasmbuild@^0.15.4 -p wasmbuild",
"test": "cd tests && rm -rf lib lib_out_js_file lib_inline lib_no_cache && deno task test:main && deno task test:js-ext && deno task test:inline && deno test -A && deno task test:check",
"test:main": "cd tests && deno run -A ../main.ts -p deno_test",
"test:js-ext": "deno task test:main --js-ext mjs --out lib_out_js_file && cat tests/lib_out_js_file/deno_test.mjs > /dev/null",
"test:check": "deno task test:main --check",
"test:inline": "deno task test:main --inline --out lib_inline"
},
"imports": {
"@david/path": "jsr:@david/path@^0.2.0",
"@david/temp": "jsr:@david/temp@^0.1.1",
"@std/assert": "jsr:@std/assert@^1.0.11",
"@std/cli": "jsr:@std/cli@^1.0.11",
"@std/encoding": "jsr:@std/encoding@^1.0.6",
"@std/fmt": "jsr:@std/fmt@^1.0.4",
"@std/fs": "jsr:@std/fs@^1.0.10",
"@std/path": "jsr:@std/path@^1.0.8",
"@std/streams": "jsr:@std/streams@^1.0.8",
"@std/tar": "jsr:@std/tar@^0.1.4"
}
}