chore: update deno.jsonc
This commit is contained in:
25
deno.jsonc
25
deno.jsonc
@@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user