-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeno.jsonc
59 lines (59 loc) · 2.28 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
50
51
52
53
54
55
56
57
58
59
{
"$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json",
"tasks": {
"check": "deno fmt --check && deno lint && deno check **/*.ts **/*.js",
"test": "rm -rf coverage && deno test -A --coverage --parallel --shuffle && deno coverage coverage --html --exclude='test/**/*' --exclude=day.ts && deno coverage coverage --lcov --output=coverage/lcov.info",
"test:lib": "rm -rf coverage && deno test -A --coverage --parallel --shuffle lib/test/*.test.ts && deno coverage coverage --html --exclude='test/**/*' --exclude=day.ts && deno coverage coverage --lcov --output=coverage/lcov.info",
"ci": "deno test -A --coverage && deno coverage coverage --lcov --output=coverage/lcov.info --exclude='test/**/*' --exclude=day.ts",
"update": "deno run -A jsr:@molt/cli --dry-run",
"docs": "deno doc --html --name=AdventOfCode2024 lib/*.ts",
"bench": "deno bench -A day.ts -- -b"
},
"imports": {
"$dax": "https://deno.land/x/dax@0.39.2/mod.ts",
"$event": "https://deno.land/x/event@2.0.1/mod.ts",
"$jar": "https://deno.land/x/another_cookiejar@v5.0.7/mod.ts",
"@std/assert": "jsr:@std/assert@^1.0.9",
"@std/cli": "jsr:@std/cli@^1.0.8",
"@std/data-structures": "jsr:@std/data-structures@^1.0.4",
"@std/fmt": "jsr:@std/fmt@^1.0.3",
"@std/path": "jsr:@std/path@^1.0.8",
"@std/streams": "jsr:@std/streams@^1.0.8",
"@std/testing": "jsr:@std/testing@^1.0.6",
"peggy": "npm:peggy@^4.2.0"
},
"fmt": {
"useTabs": false,
"lineWidth": 80,
"indentWidth": 2,
"semiColons": true,
"singleQuote": true,
"proseWrap": "preserve",
"exclude": ["docs"]
},
"lint": {
"exclude": ["woords/phdef.js", "graph/dot.js", "docs"],
"rules": {
"tags": ["fresh", "recommended"],
"exclude": ["no-await-in-loop"],
"include": [
"ban-untagged-todo",
"camelcase",
"default-param-last",
"eqeqeq",
"explicit-function-return-type",
"explicit-module-boundary-types",
"guard-for-in",
"no-const-assign",
"no-eval",
"no-external-import",
"no-implicit-declare-namespace-export",
"no-non-null-asserted-optional-chain",
"no-sparse-arrays",
"no-sync-fn-in-async-fn",
"no-throw-literal"
]
}
},
"lock": false
}