-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
63 lines (63 loc) · 2.67 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
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
{
"compilerOptions": {
"lib": [
"deno.ns",
"deno.unstable",
"dom"
],
"strict": true,
"strictNullChecks": true,
"noImplicitAny": true,
"noImplicitReturns": true
},
"tasks": {
"start": "deno run --unstable-kv --allow-net --allow-read --allow-write=.,logs --allow-env --allow-ffi --allow-sys src/main.ts",
"kv": "deno run --allow-read --allow-write --unstable-kv scripts/kv_cli.ts",
"kv:list": "deno run --allow-read --allow-write --unstable-kv scripts/kv_cli.ts list",
"kv:get": "deno run --allow-read --allow-write --unstable-kv scripts/kv_cli.ts get",
"kv:set": "deno run --allow-read --allow-write --unstable-kv scripts/kv_cli.ts set",
"kv:delete": "deno run --allow-read --allow-write --unstable-kv scripts/kv_cli.ts delete",
"kv:wipe": "deno run --allow-read --allow-write --unstable-kv scripts/kv_cli.ts wipe",
"kv:setup": "deno run --allow-read --allow-write --allow-env --unstable-kv scripts/kv_setup.ts",
"metrics:show": "deno run --allow-read --allow-write --unstable-kv scripts/metrics_cli.ts show",
"metrics:update": "deno run --allow-read --allow-write --allow-env --unstable-kv scripts/metrics_update.ts",
"metrics:reset": "deno run --allow-read --allow-write --unstable-kv scripts/metrics_cli.ts reset",
"test": "DENO_ENV=test deno test --unstable-kv --allow-read=. --allow-write=logs --allow-env --allow-sys --allow-ffi --coverage tests/*",
"test:config": "DENO_ENV=test deno test --unstable-kv --allow-read=. --allow-write=logs --allow-env --allow-sys --coverage tests/config_test.ts",
"test:labeler": "DENO_ENV=test deno test --unstable-kv --allow-read=. --allow-write=logs --allow-env --allow-sys --allow-ffi --coverage tests/labeler_test.ts",
"test:metrics": "DENO_ENV=test deno test --unstable-kv --allow-read=. --allow-write=logs --allow-env --allow-sys --allow-ffi --coverage tests/metrics_test.ts",
"test:schema": "DENO_ENV=test deno test --unstable-kv --allow-read=. --allow-write=logs --allow-env --allow-sys --coverage tests/schema_test.ts",
"fmt": "deno fmt src scripts tests",
"lint": "deno lint src scripts tests"
},
"fmt": {
"useTabs": true,
"lineWidth": 80,
"indentWidth": 2,
"singleQuote": true,
"proseWrap": "preserve"
},
"lint": {
"rules": {
"include": [
"ban-untagged-todo",
"require-await",
"no-var",
"prefer-const"
],
"exclude": [
"no-explicit-any"
]
}
},
"lock": true,
"imports": {
"@std/fs": "jsr:@std/fs@^1.0.5",
"@std/log": "jsr:@std/log@^0.224.9",
"@std/path": "jsr:@std/path@^1.0.7",
"atproto": "npm:@atproto/api@0.13.11",
"jetstream": "npm:@skyware/jetstream@0.2.0",
"labeler": "npm:@skyware/labeler@0.1.10",
"zod": "https://deno.land/x/zod@v3.23.8/mod.ts"
}
}