forked from eight04/worker-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
11 lines (10 loc) · 691 Bytes
/
deno.json
File metadata and controls
11 lines (10 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
{
"tasks": {
"types": "deno types --unstable-worker-options > lib.deno.d.ts",
"version": "deno run -A https://deno.land/x/version@v1.1.1/index.ts",
"push": "git push --atomic origin master v$(deno task version get)",
"test": "deno task test-net && deno task test-no-net && deno coverage cov_net cov_no_net",
"test-net": "ALLOW_NET=1 deno test --unstable-worker-options --allow-env=ALLOW_NET --allow-read=worker.ts --allow-net=jsonplaceholder.typicode.com:443 --fail-fast --no-check --coverage=cov_net",
"test-no-net": "ALLOW_NET=0 deno test --unstable-worker-options --allow-env=ALLOW_NET --allow-read=worker.ts --fail-fast --no-check --coverage=cov_no_net"
}
}