-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
deno.json
20 lines (20 loc) 路 1.01 KB
/
deno.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"exclude": [
"benchmark/node_modules"
],
"lint": {
"exclude": [
"benchmark/benchmark.js",
"benchmark/ioredis.js"
]
},
"tasks": {
"test": "deno test --allow-net --allow-read=tests --allow-write=tests/tmp --allow-run=redis-server,redis-cli --coverage=coverage ./tests",
"test:doc": "deno test --doc --no-run --import-map=import_map.test.json",
"coverage": "deno coverage ./coverage --lcov --output=coverage/lcov.info",
"make_mod": "deno run --allow-read --allow-write --allow-run --check tools/make_mod.ts",
"dlink": "deno run --allow-read=modules.json,modules-lock.json,vendor --allow-write=modules-lock.json,vendor --allow-net=deno.land https://deno.land/x/dlink@v0.8.9/dlink.ts && deno fmt modules-lock.json vendor",
"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"
}
}