-
-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathdeno.json
More file actions
84 lines (84 loc) 路 2.46 KB
/
Copy pathdeno.json
File metadata and controls
84 lines (84 loc) 路 2.46 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "@db/redis",
"version": "0.41.2",
"exports": {
".": "./mod.ts",
"./experimental/pool": "./experimental/pool/mod.ts",
"./experimental/cluster": "./experimental/cluster/mod.ts",
"./experimental/web-streams-connection": "./experimental/web_streams_connection/mod.ts"
},
"exclude": [
"benchmark/node_modules",
"tmp"
],
"lint": {
"exclude": [
"benchmark/benchmark.js",
"benchmark/ioredis.js"
],
"plugins": ["jsr:@uki00a/deno-lint-plugin-extra-rules@0.9.0"],
"rules": { "include": ["no-console"] }
},
"test": {
"exclude": ["benchmark/", "vendor/"],
"permissions": {
"net": ["127.0.0.1"],
"read": ["tests"],
"write": ["tests/tmp"],
"run": ["redis-server", "redis-cli"],
"env": ["REDIS_VERSION"]
},
"sanitizeOps": true,
"sanitizeResources": true
},
"permissions": {
"bench:deno-redis": {
"net": ["127.0.0.1:6379"],
"env": [
"NODE_DISABLE_COLORS",
"TERM",
"TERM_PROGRAM",
"GRACEFUL_FS_PLATFORM",
"TEST_GRACEFUL_FS_GLOBAL_PATCH"
],
"write": ["tmp"]
}
},
"publish": {
"exclude": [
".denov",
".editorconfig",
".octocov.yml",
".github",
"import_map.dev.json",
"import_map.test.json",
"benchmark/",
"tests/",
"**/*_test.ts",
"tools/"
]
},
"minimumDependencyAge": 1440,
"tasks": {
"lock": "deno cache --reload --import-map=import_map.dev.json mod.ts experimental/**/mod.ts tests/**/*.ts benchmark/*.ts",
"check": {
"dependencies": ["check:lint", "check:deno.json", "typecheck"]
},
"check:lint": "deno lint && deno fmt --check",
"check:deno.json": "deno run -R=deno.json --import-map=import_map.dev.json @uki00a/deno-json-lint",
"typecheck": "cat deno.json | jq '.exports.[]' | xargs deno check",
"test": "DENO_FUTURE=1 deno test --permission-set --coverage=coverage --trace-leaks --frozen-lockfile",
"test:doc": "deno check --doc-only --import-map=import_map.test.json README.md experimental/cluster/README.md",
"bench:deno-redis": "DENO_NO_PACKAGE_JSON=1 deno run --unstable --permission-set=bench:deno-redis --import-map=import_map.dev.json benchmark/deno-redis.ts",
"bench:ioredis": "node benchmark/ioredis.js"
},
"deno-json-lint": {
"rules": {
"no-restricted-fields": ["error", {
"fields": {
"imports": "Use `import_map.dev.json` instead."
}
}]
}
}
}