-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
45 lines (45 loc) · 1.35 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",
"imports": {
"@std/assert": "jsr:@std/assert",
"@std/async": "jsr:@std/async",
"@std/testing": "jsr:@std/testing",
"esm.sh/": "https://esm.sh/v135/",
"happy-dom": "npm:happy-dom-without-node",
"rollup": "npm:@rollup/[email protected]",
"swc": "npm:@swc/[email protected]"
},
"scopes": {},
"nodeModulesDir": false,
"compilerOptions": {
"allowJs": true,
"strict": true,
"lib": ["dom", "dom.iterable", "dom.asynciterable", "deno.ns"]
},
// "lock": false,
"tasks": {
"build": "deno task clean && deno task fmt && deno task test-cov && deno task build-ts",
"build-ts": "deno run -A rollup.config.ts",
"clean": "rm -rf dist/ coverage/",
"fmt": "deno fmt",
"lint": "deno lint",
"gen-readme": " deno run gen-template.util.ts > ./docs/README.md ",
"test-cov": "deno test --coverage -A && deno coverage coverage --lcov --output=coverage/lcov.info"
},
"exclude": ["dist/"],
"lint": {
"include": ["src/", "test/", "*.ts", "*.json*", "*.js", "*.md"],
"rules": {
"tags": ["recommended"],
"include": ["ban-untagged-todo"],
"exclude": ["no-unused-vars"]
}
},
"fmt": {
"include": ["src/", "test/", "*.ts", "*.json*", "*.ts", "*.md"],
"useTabs": false
},
"test": {
"include": ["test/"]
}
}