generated from kawarimidoll/deno-dev-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
deno.jsonc
21 lines (19 loc) · 1008 Bytes
/
deno.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"imports": { "@std/assert": "jsr:@std/assert@^0.226.0" },
"lint-staged": {
"*": "deno lint && deno fmt",
"deno.jsonc": "deno task setup-hooks"
},
"tasks": {
"test": "deno test --reload --allow-none",
"cov": "deno task test --coverage=cov_profile; deno coverage cov_profile",
"lint": "deno lint --ignore=cov_profile",
"fmt": "deno fmt --ignore=cov_profile",
"ci": "deno task lint && deno task fmt --check && deno task test",
"update": "deno run --allow-env --allow-read --allow-write=. --allow-run=git,deno --allow-net=jsr.io jsr:@molt/cli deno.jsonc --write",
"setup-hooks": "deno run --allow-read --allow-run https://pax.deno.dev/kawarimidoll/deno-dev-template/scripts/setup-hooks.ts",
// "commit-msg": "commitlint -x @commitlint/config-conventional -e \"$1\"",
"pre-commit": "deno run --allow-read --allow-env --allow-run --allow-write https://pax.deno.dev/kawarimidoll/deno-dev-template/scripts/lint-staged.ts",
"pre-push": "deno task ci"
}
}