-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.jsonc
More file actions
41 lines (41 loc) · 1.23 KB
/
deno.jsonc
File metadata and controls
41 lines (41 loc) · 1.23 KB
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
{
"$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json",
"imports": {
"esm.sh/": "https://esm.sh/",
"rollup": "npm:@rollup/wasm-node",
"happy-dom": "npm:happy-dom"
},
"scopes": {},
"compilerOptions": {
"strict": true,
"lib": ["dom", "dom.iterable", "dom.asynciterable", "deno.ns"]
},
// "lock": false,
"nodeModulesDir": "none",
"tasks": {
"build": "deno task clean && deno task test-cov && deno task bundle",
"bundle": "deno run -A rollup.config.ts",
"clean": "rm -rf dist/ coverage/",
"fmt": "deno fmt",
"test-cov": "deno test --coverage=coverage/json --no-check -A && deno coverage coverage/json --lcov --output=coverage/lcov.info",
"html-report": "deno task clean && deno task test-cov && genhtml -o coverage/html coverage/lcov.info"
},
"lint": {
"include": ["src/", "test/", "*.ts", "*.js*"],
"rules": {
"tags": ["recommended"],
"include": ["ban-untagged-todo"],
"exclude": ["no-unused-vars"]
}
},
"fmt": {
"include": ["src/", "test/", "*.ts", "*.js*", "*.json*", "README.md"]
},
"options": {
"useTabs": false
},
"test": {
"include": ["test/"]
},
"exclude": ["dist/", "coverage/", ".vscode/", ".idea/", "*.user.js"]
}