-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
deno.json
100 lines (100 loc) · 4.18 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@fedify/fedify",
"version": "0.10.0",
"exports": {
".": "./mod.ts",
"./federation": "./federation/mod.ts",
"./httpsig": "./httpsig/mod.ts",
"./nodeinfo": "./nodeinfo/mod.ts",
"./runtime": "./runtime/mod.ts",
"./sig": "./sig/mod.ts",
"./vocab": "./vocab/mod.ts",
"./webfinger": "./webfinger/mod.ts",
"./x/denokv": "./x/denokv.ts",
"./x/fresh": "./x/fresh.ts",
"./x/hono": "./x/hono.ts"
},
"imports": {
"@cfworker/json-schema": "npm:@cfworker/json-schema@^1.12.8",
"@david/which-runtime": "jsr:@david/which-runtime@^0.2.0",
"@deno/dnt": "jsr:@deno/dnt@^0.41.1",
"@fedify/fedify": "./mod.ts",
"@fedify/fedify/federation": "./federation/mod.ts",
"@fedify/fedify/httpsig": "./httpsig/mod.ts",
"@fedify/fedify/nodeinfo": "./nodeinfo/mod.ts",
"@fedify/fedify/runtime": "./runtime/mod.ts",
"@fedify/fedify/vocab": "./vocab/mod.ts",
"@fedify/fedify/webfinger": "./webfinger/mod.ts",
"@fedify/fedify/x/denokv": "./x/denokv.ts",
"@fedify/fedify/x/fresh": "./x/fresh.ts",
"@fedify/fedify/x/hono": "./x/hono.ts",
"@hongminhee/aitertools": "jsr:@hongminhee/aitertools@^0.6.0",
"@logtape/logtape": "jsr:@logtape/logtape@^0.4.0",
"@phensley/language-tag": "npm:@phensley/language-tag@^1.8.0",
"@std/assert": "jsr:@std/assert@^0.224.0",
"@std/async/delay": "jsr:@std/async@^0.224.0/delay",
"@std/bytes": "jsr:@std/bytes@^0.224.0",
"@std/bytes/concat": "jsr:@std/bytes@^0.224.0/concat",
"@std/collections": "jsr:@std/collections@^0.224.0",
"@std/encoding": "jsr:@std/encoding@^0.224.0",
"@std/encoding/base64": "jsr:@std/encoding@^0.224.0/base64",
"@std/encoding/base64url": "jsr:@std/encoding@^0.224.0/base64url",
"@std/encoding/hex": "jsr:@std/encoding@^0.224.0/hex",
"@std/fs": "jsr:@std/fs@^0.224.0",
"@std/http/negotiation": "jsr:@std/http@^0.224.0/negotiation",
"@std/json/common": "jsr:@std/json@^0.224.0/common",
"@std/path": "jsr:@std/path@^0.224.0",
"@std/semver": "jsr:@std/semver@^0.224.0",
"@std/testing": "jsr:@std/testing@^0.224.0",
"@std/text": "jsr:@std/text@^0.224.0",
"@std/url": "jsr:@std/url@^0.224.0",
"@std/yaml": "jsr:@std/yaml@^0.224.0",
"asn1js": "npm:asn1js@^3.0.5",
"fast-check": "npm:fast-check@^3.18.0",
"jsonld": "npm:jsonld@^8.3.2",
"mock_fetch": "https://deno.land/x/mock_fetch@0.3.0/mod.ts",
"multibase": "npm:multibase@^4.0.6",
"multicodec": "npm:multicodec@^3.2.1",
"pkijs": "npm:pkijs@^3.1.0",
"uri-template-router": "npm:uri-template-router@^0.0.16",
"url-template": "npm:url-template@^3.1.1"
},
"include": [
"vocab/vocab.ts"
],
"exclude": [
".git/",
".github/",
".vscode/",
".zed/",
"apidoc/",
"cli/",
"docs/",
"examples/",
"logo.svg",
"npm/",
"vocab/*.yaml",
"!vocab/vocab.ts"
],
"tasks": {
"cache": "deno task codegen && deno cache mod.ts",
"check": "deno task codegen && deno fmt --check && deno lint && deno check */*.ts",
"codegen": "deno run --allow-read --allow-write --check codegen/main.ts vocab/ ../runtime/ > vocab/vocab.ts && deno fmt vocab/vocab.ts && deno cache vocab/vocab.ts && deno check vocab/vocab.ts",
"test-without-codegen": "deno test --check --doc --allow-read --allow-write --unstable-kv --trace-leaks",
"test": "deno task codegen && deno task test-without-codegen",
"coverage": "rm -rf coverage/ && deno task test --coverage && deno coverage --html coverage",
"apidoc": "deno task codegen && deno doc --html --name=Fedify --output=apidoc/ mod.ts",
"check-version": "deno run cli/scripts/check_version.ts",
"publish": "deno task codegen && deno publish",
"dnt": "deno task codegen && deno run -A dnt.ts",
"update": "deno run --allow-env --allow-read --allow-write=. --allow-run=git,deno --allow-net=jsr.io,registry.npmjs.org jsr:@molt/cli ./*.ts",
"update:commit": "deno task -q update --commit --pre-commit=fmt,lint",
"hooks:install": "deno run --allow-read=deno.json,.git/hooks/ --allow-write=.git/hooks/ jsr:@hongminhee/deno-task-hooks",
"hooks:pre-commit": "deno task check && deno task check-version"
},
"unstable": [
"kv",
"temporal"
],
"lock": false
}