-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.79 KB
/
Copy pathpackage.json
File metadata and controls
102 lines (102 loc) · 2.79 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "farrier-kit",
"version": "1.1.1",
"description": "Lightning payment primitives that work anywhere: bolt11 decoding, preimage verification, LNURL-pay resolution and timeout-safe JSON fetch. Zero-dependency core on @noble, browser and Node from one codebase.",
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./bolt11": {
"types": "./dist/bolt11.d.ts",
"import": "./dist/bolt11.js",
"require": "./dist/bolt11.cjs"
},
"./preimage": {
"types": "./dist/preimage.d.ts",
"import": "./dist/preimage.js",
"require": "./dist/preimage.cjs"
},
"./http": {
"types": "./dist/http.d.ts",
"import": "./dist/http.js",
"require": "./dist/http.cjs"
},
"./lnurl": {
"types": "./dist/lnurl.d.ts",
"import": "./dist/lnurl.js",
"require": "./dist/lnurl.cjs"
},
"./node": {
"types": "./dist/node.d.ts",
"import": "./dist/node.js",
"require": "./dist/node.cjs"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"vectors/*.json",
"CONFORMANCE.md",
"CHANGELOG.md",
"llms.txt"
],
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:vectors": "vitest run vectors/vectors.test.ts",
"test:watch": "vitest",
"check:no-node-imports": "! grep -rEn \"from ['\\\"]node:|require\\(['\\\"]node:\" src --include='*.ts' --exclude='*.test.ts' --exclude-dir=node",
"check:browser-bundle": "esbuild dist/index.js --bundle --platform=browser --outfile=/dev/null --log-level=error",
"vectors": "node scripts/gen-vectors.mjs",
"prepublishOnly": "npm run typecheck && npm run check:no-node-imports && npm run test && npm run build && npm run check:browser-bundle"
},
"repository": {
"type": "git",
"url": "git+https://github.com/forgesworn/farrier-kit.git"
},
"homepage": "https://github.com/forgesworn/farrier-kit#readme",
"bugs": {
"url": "https://github.com/forgesworn/farrier-kit/issues"
},
"license": "MIT",
"author": "forgesworn",
"keywords": [
"lightning",
"bitcoin",
"bolt11",
"invoice",
"preimage",
"payment-hash",
"lnurl",
"lightning-address",
"lud16",
"nwc",
"nip47",
"nostr"
],
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"provenance": true
},
"dependencies": {
"@noble/hashes": "^1.8.0"
},
"devDependencies": {
"@types/node": "^22.10.0",
"esbuild": "^0.28.0",
"light-bolt11-decoder": "3.2.0",
"tsup": "^8.3.0",
"typescript": "^5.7.0",
"vitest": "^4.0.0"
}
}