chore: update deno.jsonc

This commit is contained in:
Simon Lecoq
2023-11-04 19:48:52 +00:00
committed by GitHub
parent 9ad8bf580d
commit 6bf3d3b5d1

View File

@@ -3,6 +3,8 @@
"make": "deno run --allow-env --allow-read --allow-write=.deno-make.json --allow-run=deno ./mod.ts $0", "make": "deno run --allow-env --allow-read --allow-write=.deno-make.json --allow-run=deno ./mod.ts $0",
"test": "deno task make test", "test": "deno task make test",
"code": "deno task make code", "code": "deno task make code",
"check": "deno task make check",
"cache": "deno task make cache",
"ci": "deno task make ci" "ci": "deno task make ci"
}, },
"+tasks": { "+tasks": {
@@ -41,14 +43,31 @@
"description": "🧼 Lint and format code", "description": "🧼 Lint and format code",
"task": "deno lint && deno fmt" "task": "deno lint && deno fmt"
}, },
"code:check": { "check": {
"description": "🫧 Lint and check code fomatting", "description": "🫧 Lint and check code fomatting",
"task": "deno lint && deno fmt --check" "task": "deno lint && deno fmt",
"deno": {
"fmt": {
"check": true
}
}
},
"cache": {
"description": "📦 Cache dependencies",
"task": "deno cache *.ts",
"deno": {
"cache": {
"modules": {
"reload": true,
"check": "all"
}
}
}
}, },
"ci": { "ci": {
"description": "🤖 CI checks", "description": "🤖 CI checks",
"task": [ "task": [
"deno task make code:check &&", "deno task make check &&",
"deno task make test" "deno task make test"
] ]
} }