@fedify/fedify
Version:
An ActivityPub server framework
116 lines (115 loc) • 4.18 kB
JavaScript
export default {
"name": "@fedify/fedify",
"version": "1.5.0",
"license": "MIT",
"exports": {
".": "./mod.ts",
"./compat": "./compat/mod.ts",
"./federation": "./federation/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",
"./x/sveltekit": "./x/sveltekit.ts"
},
"imports": {
"@cfworker/json-schema": "npm:@cfworker/json-schema@^2.0.1",
"@david/which-runtime": "jsr:@david/which-runtime@^0.2.1",
"@deno/dnt": "jsr:@deno/dnt@0.41.3",
"@hongminhee/aitertools": "jsr:@hongminhee/aitertools@^0.6.0",
"@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2",
"@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
"@opentelemetry/semantic-conventions": "npm:@opentelemetry/semantic-conventions@^1.27.0",
"@phensley/language-tag": "npm:@phensley/language-tag@^1.9.0",
"@std/assert": "jsr:@std/assert@^0.226.0",
"@std/async": "jsr:@std/async@^1.0.5",
"@std/bytes": "jsr:@std/bytes@^1.0.2",
"@std/collections": "jsr:@std/collections@^1.0.6",
"@std/encoding": "jsr:@std/encoding@1.0.7",
"@std/http": "jsr:@std/http@^1.0.6",
"@std/testing": "jsr:@std/testing@^0.224.0",
"@std/text": "jsr:@std/text@^1.0.6",
"@std/url": "jsr:@std/url@^0.225.1",
"@std/yaml": "jsr:@std/yaml@^0.224.3",
"asn1js": "npm:asn1js@^3.0.5",
"fast-check": "npm:fast-check@^3.22.0",
"json-canon": "npm:json-canon@^1.0.1",
"jsonld": "npm:jsonld@^8.3.2",
"mock_fetch": "jsr:@hongminhee/deno-mock-fetch@^0.3.2",
"multicodec": "npm:multicodec@^3.2.1",
"pkijs": "npm:pkijs@^3.2.4",
"uri-template-router": "npm:uri-template-router@^0.0.17",
"url-template": "npm:url-template@^3.1.1"
},
"include": [
"vocab/vocab.ts"
],
"exclude": [
".dnt-import-map.json",
"apidoc/",
"codegen/schema.yaml",
"npm/",
"vocab/*.yaml",
"!vocab/vocab.ts"
],
"tasks": {
"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",
"check-version": "deno run ../cli/scripts/check_version.ts",
"cache": {
"command": "deno cache mod.ts",
"dependencies": [
"check-version",
"codegen"
]
},
"check": {
"command": "deno fmt --check && deno lint && deno check */*.ts",
"dependencies": [
"codegen"
]
},
"test": {
"command": "deno test --check --doc --allow-read --allow-write --allow-env --unstable-kv --trace-leaks --parallel",
"dependencies": [
"codegen"
]
},
"coverage": "deno task test --clean --coverage && deno coverage --html coverage",
"bench": {
"command": "deno bench --allow-read --allow-write --allow-net --allow-env --allow-run --unstable-kv",
"dependencies": [
"codegen"
]
},
"apidoc": {
"command": "deno doc --html --name=Fedify --output=apidoc/ mod.ts",
"dependencies": [
"codegen"
]
},
"publish": {
"command": "deno publish",
"dependencies": [
"codegen"
]
},
"dnt": {
"command": "deno run -A dnt.ts",
"dependencies": [
"codegen"
]
},
"test-all": {
"command": "cd npm/ && bun run ./test_runner.js && cd ../",
"dependencies": [
"check",
"test",
"dnt"
]
}
}
};