forked from grammyjs/grammY
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
40 lines (40 loc) · 1.62 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
{
"lock": false,
"tasks": {
"check": "deno cache --check=all src/mod.ts",
"backport": "deno run --no-prompt --allow-read=. --allow-write=. https://deno.land/x/deno2node@v1.7.2/src/cli.ts tsconfig.json",
"test": "deno test --seed=123456 --parallel ./test/",
"dev": "deno fmt && deno lint && deno task test && deno task check",
"coverage": "deno task test --coverage=./test/cov_profile && deno coverage --lcov --output=./coverage.lcov ./test/cov_profile",
"report": "genhtml ./coverage.lcov --output-directory ./test/coverage/ && echo 'Point your browser to test/coverage/index.html to see the test coverage report.'",
"bundle": "cd bundling && ./bundle-all.sh",
"bundle-web": "mkdir -p out deno_cache && cd bundling && DENO_DIR=$PWD/../deno_cache deno run --unstable --quiet --allow-net --allow-read --allow-env=DENO_DIR,XDG_CACHE_HOME,HOME,DENO_AUTH_TOKENS --allow-write=../out,$PWD/../deno_cache bundle-web.ts dev ../src/mod.ts"
},
"fmt": {
"options": {
"indentWidth": 4,
"proseWrap": "preserve"
},
"files": {
"exclude": [
"./deno_cache/",
"./node_modules/",
"./out/",
"./package-lock.json",
"./bundling/bundles",
"./test/cov_profile"
]
}
},
"lint": {
"files": {
"exclude": [
"./deno_cache/",
"./node_modules/",
"./out/",
"./package-lock.json",
"./bundling/bundles"
]
}
}
}