chore: add basic project
This commit is contained in:
68
deno.jsonc
Normal file
68
deno.jsonc
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"tasks": {
|
||||
"make": "deno run --allow-env --allow-read --allow-write=.deno-make.json --allow-run=deno https://git.0xmax42.io/maxp/deno_make/raw/branch/main/mod.ts $0"
|
||||
},
|
||||
"+tasks": {
|
||||
"start": {
|
||||
"task": "deno run src/mod.ts",
|
||||
"deno": {
|
||||
"run": {
|
||||
"permissions": {
|
||||
"all": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"test": {
|
||||
"task": "deno test **/__tests__/*.test.ts",
|
||||
"deno": {
|
||||
"test": {
|
||||
"permissions": {
|
||||
"all": true
|
||||
},
|
||||
"coverage": "./.coverage"
|
||||
}
|
||||
}
|
||||
},
|
||||
"fmt": {
|
||||
"task": "deno fmt",
|
||||
"deno": {
|
||||
"fmt": {
|
||||
"check": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"task": "deno lint",
|
||||
"deno": {
|
||||
"lint": { }
|
||||
}
|
||||
},
|
||||
"ci": {
|
||||
"task": "deno task make fmt && deno task make lint && deno task make test",
|
||||
"description": "For local CI checks"
|
||||
}
|
||||
},
|
||||
"compilerOptions": { },
|
||||
"fmt": {
|
||||
"useTabs": false,
|
||||
"lineWidth": 80,
|
||||
"indentWidth": 4,
|
||||
"semiColons": true,
|
||||
"singleQuote": true,
|
||||
"proseWrap": "preserve",
|
||||
"include": [
|
||||
"src/",
|
||||
"mod.ts"
|
||||
]
|
||||
},
|
||||
"exclude": [ ],
|
||||
"imports": {
|
||||
"@logtape/logtape": "jsr:@logtape/logtape@^1.1.1",
|
||||
"@logtape/pretty": "jsr:@logtape/pretty@^1.1.1",
|
||||
"@std/assert": "jsr:@std/assert@1.0.15",
|
||||
"@std/testing": "jsr:@std/testing@1.0.16",
|
||||
"@std/path": "jsr:@std/path@1.1.2",
|
||||
"HttpKernel/": "https://git.0xmax42.io/maxp/HttpKernel/raw/tag/v0.2.0/src/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user