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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
{
"$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json",
"tasks": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"build:preview": {
"command": "deno task preview",
"dependencies": [
"build"
]
},
"astro": "astro",
"test:unit": "deno test --doc --junit-path=report.junit.xml --permit-no-files --shuffle --trace-leaks src",
"test:unit:coverage": "deno task test:unit --coverage",
"test:unit:inspect": "deno task test:unit --inspect-brk",
"test:unit:watch": "deno task test:unit --watch --no-clear-screen",
"test:unit:watch:coverage": "deno task test:unit:coverage --watch --no-clear-screen",
"test:unit:watch:inspect": "deno task test:unit:inspect --watch --no-clear-screen",
"test:check": "deno --doc",
"coverage": {
"command": "deno coverage --html --exclude=\"node_modules/,dist/\"",
"dependencies": [
"test:unit"
]
},
"doc": "deno doc --html --name=\"<cravodeabril.pt>\"",
"doc:lint": "deno doc --lint --html --name=\"<cravodeabril.pt>\""
},
"license": "AGPL-3.0-or-later",
"fmt": {
"useTabs": false,
"lineWidth": 80,
"semiColons": true,
"indentWidth": 2,
"singleQuote": false
},
"lint": {
"rules": {
"tags": [
"jsr",
"jsx",
"recommended"
],
"include": [
"ban-untagged-todo",
"camelcase",
"default-param-last",
"eqeqeq",
// "explicit-function-return-type",
"explicit-module-boundary-types",
"guard-for-in",
"jsx-boolean-value",
"no-await-in-loop",
"no-boolean-literal-for-arguments",
"no-const-assign",
"no-eval",
// "no-external-import",
"no-implicit-declare-namespace-export",
"no-inferrable-types",
"no-non-null-asserted-optional-chain",
"no-non-null-assertion",
"no-self-compare",
"no-sparse-arrays",
"no-sync-fn-in-async-fn",
"no-throw-literal",
"no-top-level-await",
"no-undef",
"no-useless-rename",
// "prefer-ascii",
"single-var-declarator"
]
},
"report": "pretty"
},
"unstable": [
"worker-options",
"cron",
"kv"
],
"nodeModulesDir": "auto",
"imports": {
"@std/assert": "jsr:@std/assert@^1.0.13",
"@std/async": "jsr:@std/async@^1.0.13",
"@std/encoding": "jsr:@std/encoding@^1.0.10",
"@std/expect": "jsr:@std/expect@^1.0.16",
"@std/fs": "jsr:@std/fs@^1.0.17",
"@std/path": "jsr:@std/path@^1.0.9",
"@std/testing": "jsr:@std/testing@^1.0.12",
"@std/toml": "jsr:@std/toml@^1.0.7",
"mdast": "npm:@types/mdast"
}
}
|