-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
45 lines (45 loc) · 1.14 KB
/
deno.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json",
"fmt": {
"indentWidth": 4,
"lineWidth": 800,
"proseWrap": "preserve",
"semiColons": true,
"singleQuote": false,
"useTabs": true
},
"imports": { // IMPORTANT: Remap development dependencies only!
"DNT": "jsr:@deno/[email protected]",
"STD/assert": "jsr:@std/[email protected]",
"STD/fs": "jsr:@std/[email protected]"
},
"lint": {
"rules": {
"tags": [
"recommended"
],
"include": [
"default-param-last",
"eqeqeq",
"guard-for-in",
"no-const-assign",
"no-eval",
"no-non-null-asserted-optional-chain",
"no-self-compare",
"no-sparse-arrays",
"no-sync-fn-in-async-fn",
"no-undef",
"triple-slash-reference",
"verbatim-module-syntax"
]
}
},
"lock": false,
"tasks": {
// Check JSR package metadata. `deno publish` maybe have different behaviours between different versions, always check before release!
"jsr-check": "deno publish --allow-dirty --config jsr.jsonc --dry-run --no-provenance",
// Build NPM package.
"npm-build": "deno run --allow-all --deny-hrtime --no-prompt --quiet .dnt.ts"
},
"unstable": [ ]
}