forked from grammyjs/grammY
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
35 lines (35 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
{
"lock": false,
"tasks": {
"check": "deno cache --check=all src/mod.ts",
"backport": "deno run --no-prompt --allow-read=. --allow-write=. https://deno.land/x/[email protected]/src/cli.ts tsconfig.json",
"test": "deno test --seed=123456 --parallel ./test/",
"dev": "deno fmt && deno lint && deno task test && deno task check",
"coverage": "rm -rf ./test/cov_profile && 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",
"contribs": "deno run --allow-env --allow-read --allow-write=. --allow-net=api.github.com npm:all-contributors-cli"
},
"fmt": {
"indentWidth": 4,
"proseWrap": "preserve",
"exclude": [
"./deno_cache/",
"./node_modules/",
"./out/",
"./package-lock.json",
"./bundling/bundles",
"./test/cov_profile"
]
},
"lint": {
"exclude": [
"./deno_cache/",
"./node_modules/",
"./out/",
"./package-lock.json",
"./bundling/bundles"
]
}
}