-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
11 lines (11 loc) · 1.04 KB
/
deno.json
1
2
3
4
5
6
7
8
9
10
11
{
"tasks": {
"all": "deno fmt && deno lint && deno task check && deno task readme && deno task test",
"all-reload": "deno fmt && deno lint && deno task check --reload && deno task test --reload",
"check": "sh -c '$(command -v fd || command -v fdfind) '\"'\"'\\.(mj|j|t)sx?$'\"'\"' --hidden --exec deno check --unstable {}'",
"test": "deno test --unstable --allow-run --allow-env=VERBOSE --allow-write=test.db --allow-read=test.db",
"readme": "chmod +w README.md && ./readme/generate-readme.ts readme/README.md > README.md && deno fmt README.md && chmod -w README.md",
"release": "deno task all && test -z \"$(git status --porcelain)\" && GITHUB_TOKEN=$(gh auth token) deno run --allow-env=GITHUB_TOKEN --allow-net=api.github.com --allow-run=bash https://deno.land/x/[email protected]/shipit.ts",
"udd": "sh -xc 'deno run --allow-read=. --allow-write=. --allow-net --allow-run=deno https://deno.land/x/[email protected]/main.ts --test \"deno task all\" $($(command -v fd || command -v fdfind) '\"'\"'(\\.(mj|j|t)sx?|^deno.jsonc?)$'\"'\"')'"
}
}