-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
deno.json
26 lines (26 loc) · 1.2 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
{
"exclude": [
"benchmark/node_modules",
"tmp"
],
"lint": {
"exclude": [
"benchmark/benchmark.js",
"benchmark/ioredis.js"
],
"rules": { "include": ["no-console"] }
},
"test": {
"exclude": ["benchmark/", "vendor/"]
},
"tasks": {
"lock": "rm deno.lock && DENO_FUTURE=1 deno cache --reload mod.ts experimental/**/mod.ts tests/**/*.ts",
"check:deno-json": "deno run --allow-read=deno.json tools/check_deno_json.js",
"test": "DENO_FUTURE=1 deno test --allow-net --allow-read=tests --allow-write=tests/tmp --allow-run=redis-server,redis-cli --allow-env=REDIS_VERSION --coverage=coverage --trace-leaks --frozen-lockfile",
"test:doc": "deno check --doc-only --import-map=import_map.test.json README.md experimental/cluster/README.md",
"coverage": "deno coverage ./coverage --lcov --output=coverage/lcov.info",
"make_mod": "deno run --allow-read --allow-write --allow-run=deno --check tools/make_mod.ts",
"bench:deno-redis": "DENO_NO_PACKAGE_JSON=1 deno run --unstable --allow-net=127.0.0.1:6379 --allow-read --allow-env --allow-write=tmp --import-map=benchmark/import_map.json benchmark/deno-redis.ts",
"bench:ioredis": "node benchmark/ioredis.js"
}
}