-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
47 lines (47 loc) · 1.46 KB
/
deno.json
File metadata and controls
47 lines (47 loc) · 1.46 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
42
43
44
45
46
47
{
"name": "@doctor/thread",
"version": "0.2.1",
"exports": {
".": "./src/mod.ts",
"./types": "./src/types.ts",
"./worker": "./src/worker.ts"
},
"imports": {
"@std/assert": "jsr:@std/assert@^1.0.13"
},
"exclude": ["**/.*"],
"tasks": {
"cov": "deno task test --reporter=dot --coverage='.coverage/' --clean",
"cov:mac": "deno task cov && open .coverage/html/index.html",
"cov:lin": "deno task cov && xdg-open .coverage/html/index.html",
"cov:win": "deno task cov && start .coverage/html/index.html",
"doc": "deno doc --html --output='.docs/' src/mod.ts src/types.ts src/worker.ts",
"doc:mac": "deno task doc && open .docs/all_symbols.html",
"doc:lin": "deno task doc && xdg-open .docs/all_symbols.html",
"doc:win": "deno task doc && start .docs/all_symbols.html",
"test": "deno test -R='./' --parallel --trace-leaks",
"lint": "deno lint",
"fmt": "deno fmt",
"ok": { "command": "deno task test --doc", "dependencies": ["fmt", "lint"] }
},
"lint": {
"rules": {
"tags": ["recommended"],
"include": [
"camelcase",
"explicit-function-return-type",
"explicit-module-boundary-types",
"no-console",
"no-eval",
"no-inferrable-types",
"no-sparse-arrays",
"no-sync-fn-in-async-fn",
"no-throw-literal",
"no-undef",
"prefer-ascii",
"single-var-declarator",
"verbatim-module-syntax"
]
}
}
}