-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
49 lines (49 loc) · 1.27 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
46
47
48
49
{
"$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: Only remap development dependencies!
"DNT": "https://raw.githubusercontent.com/hugoalh/deno-nodejs-transformer/v0.5.3/mod.ts",
"STD/assert": "jsr:@std/assert@^1.0.7"
},
"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 deployment for JSR.
"jsr-check": "deno publish --allow-dirty --config jsr.jsonc --dry-run --no-provenance",
// Publish package to JSR.
"jsr-publish": "deno publish --allow-dirty --config jsr.jsonc --no-provenance",
// Publish package to JSR (provenance).
"jsr-publish-provenance": "deno publish --allow-dirty --config jsr.jsonc",
// Build package for NPM.
"npm-build": "deno run --allow-all --no-prompt --quiet .dnt.ts"
},
"unstable": [
]
}