-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 3.11 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 3.11 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
85
86
87
88
{
"name": "webfinger.js",
"version": "3.0.4",
"description": "A client library to query WebFinger records",
"license": "MIT",
"packageManager": "bun@1.1.42",
"private": false,
"keywords": [
"webfinger",
"discovery",
"hostmeta",
"jrd",
"finger",
"useraddress",
"lookup"
],
"type": "module",
"main": "./dist/webfinger.cjs",
"types": "./dist/webfinger.d.ts",
"exports": {
".": {
"types": "./dist/webfinger.d.ts",
"import": "./dist/webfinger.mjs",
"require": "./dist/webfinger.cjs",
"browser": "./dist/webfinger.js",
"default": "./dist/webfinger.mjs"
}
},
"files": [
"dist/**/*",
"README.md",
"LICENSE"
],
"author": {
"name": "Nick Jennings",
"email": "nick@silverbucket.net"
},
"scripts": {
"build": "bun run tsc --project tsconfig.dev.json && bun scripts/build.js --output .tmp/webfinger.cjs",
"build:release": "bun scripts/build.js --output dist/webfinger.cjs",
"build:clean": "rm -rf dist && bun run build:release",
"prepublishOnly": "bun run build:clean",
"lint": "eslint . && bun run lint:links && bun run lint:docs",
"lint:links": "bun --bun ./node_modules/.bin/markdown-link-check --config .markdown-link-check.json README.md docs/*.md",
"lint:docs": "bun scripts/verify-docs.js",
"test:ts": "bun test ./src/webfinger.test.ts",
"test:js": "bun test --env-file .env.test-js ./src/webfinger.test.ts",
"test:integration": "bun test ./spec/integration/local-server.integration.ts ./spec/integration/real-servers.integration.ts",
"test:browser": "wtr --config web-test-runner.config.mjs",
"test:unit": "bun run build && bun run test:ts && bun run test:js",
"test:imports:bun": "cd spec/imports/bun && ./run-test.sh",
"test:imports:node": "cd spec/imports/node && ./run-test.sh",
"test:imports:node-cjs": "cd spec/imports/node-cjs && ./run-test.sh",
"test:imports": "bun run test:imports:bun && bun run test:imports:node && bun run test:imports:node-cjs",
"test": "bun run test:unit && bun run test:integration && bun run test:browser",
"test:release": "bun run build:release && bun run test && bun run test:imports",
"help": "bun scripts/help.js",
"docs:generate": "typedoc",
"docs:watch": "typedoc --watch",
"demo:serve": "bun run build && bun scripts/serve-demo.js"
},
"repository": {
"type": "git",
"url": "git://github.com/silverbucket/webfinger.js.git"
},
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/silverbucket/webfinger.js/issues"
},
"homepage": "https://github.com/silverbucket/webfinger.js",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@esm-bundle/chai": "^4.3.4-fix.0",
"@types/node": "^25.6.0",
"@typescript-eslint/parser": "^8.58.2",
"@web/test-runner": "^0.20.2",
"@web/test-runner-puppeteer": "^0.18.0",
"eslint": "^10.2.0",
"globals": "^17.5.0",
"markdown-link-check": "^3.14.2",
"mocha": "^11.7.5",
"prettier": "^3.8.3",
"typedoc": "^0.28.19",
"typedoc-plugin-markdown": "^4.11.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.58.2"
}
}