-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
50 lines (50 loc) · 1.47 KB
/
deno.json
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
{
"tasks": {
"check:license": "deno run -A ./scripts/check-license.ts --check",
"format": "deno fmt ./src/ ./test/*.ts ./test/helpers/*.ts",
"lint": "deno lint ./src/ ./test/*.ts ./test/helpers/*.ts",
"test": "deno test --allow-read --coverage=.coverage",
"coverage": "deno coverage .coverage --lcov --exclude=/src/node/ --exclude=/test/ --exclude=/scripts/ > ./.coverage/coverage.lcov",
"test:watch": "deno test --watch",
"update:version": "deno run --allow-read --allow-write ./scripts/update-version.ts",
"update:deno_deps": "deno run -A https://deno.land/x/udd/main.ts dev_deps.ts ./scripts/build-npm.ts ./src/lib/Pastebin.ts ./src/lib/Scraper.ts",
"update:deps": "deno task update:deno_deps",
"localTest": "deno run --allow-read --allow-write --allow-run ./scripts/watch-test.ts",
"clean": "rm -r ./coverage",
"npm": "deno run -A ./scripts/build-npm.ts"
},
"fmt": {
"indentWidth": 2,
"lineWidth": 100,
"singleQuote": false,
"useTabs": false,
"proseWrap": "preserve",
"exclude": [
".coverage/",
"npm/",
"./test/helpers/_files/",
".github/",
"README.md"
]
},
"lint": {
"rules": {
"include": [
"ban-untagged-todo",
"explicit-function-return-type"
]
},
"exclude": [
"./_local_testing.ts",
"./test/helpers/_files/",
"npm/"
]
},
"test": {
"exclude": [
"npm/",
"src/node/",
".coverage/"
]
}
}