-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.8 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.8 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
{
"name": "@frostr/bifrost",
"version": "2.0.2",
"description": "Reference node and library for the FROSTR protocol.",
"author": "Christopher Scott",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/frostr-org/bifrost"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"files": [
"README.md",
"LICENSE",
"dist"
],
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./encoder": {
"import": "./dist/encoder/index.js",
"types": "./dist/encoder/index.d.ts",
"default": "./dist/encoder/index.js"
},
"./lib": {
"import": "./dist/lib/api.js",
"types": "./dist/lib/api.d.ts",
"default": "./dist/lib/api.js"
},
"./util": {
"import": "./dist/util/index.js",
"types": "./dist/util/index.d.ts",
"default": "./dist/util/index.js"
}
},
"scripts": {
"build": "./scripts/build.sh",
"check": "npx tsc --project tsconfig.json --noEmit",
"lint": "biome check src/",
"keygen": "npm run script test/keygen.ts",
"package": "./scripts/package.sh",
"release": "./scripts/release.sh",
"scratch": "npm run script test/scratch.ts",
"script": "tsx --tsconfig ./test/tsconfig.json",
"test": "npm run script test/runner.ts",
"test:unit": "npm run script test/case/unit/runner.ts",
"test:int": "npm run script test/case/integration/runner.ts",
"test:e2e": "npm run script test/case/e2e/runner.ts",
"demo": "./demo/tmux.sh start",
"demo:relay": "npm run script demo/relay.ts",
"demo:keygen": "npm run script demo/keygen.ts",
"demo:onboard": "npm run script demo/onboard.ts",
"demo:alice": "npm run script demo/node.ts -- --name alice",
"demo:bob": "npm run script demo/node.ts -- --name bob",
"demo:carol": "npm run script demo/node.ts -- --name carol"
},
"devDependencies": {
"@biomejs/biome": "2.3.12",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.3.0",
"@types/node": "^25.0.10",
"@types/tape": "^5.8.1",
"@types/ws": "^8.18.1",
"faucet": "^0.0.4",
"nostr-tools": "^2.20.0",
"rollup": "^4.56.0",
"tape": "^5.9.0",
"tslib": "^2.8.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"ws": "^8.19.0"
},
"dependencies": {
"@noble/ciphers": "^2.1.1",
"@noble/curves": "^2.0.1",
"@noble/hashes": "^2.0.1",
"@scure/base": "^1.2.1",
"@types/debug": "^4.1.12",
"@vbyte/buff": "^1.0.4",
"@vbyte/frost": "^1.1.5",
"@vbyte/nostr-sdk": "^1.0.1",
"debug": "^4.4.3",
"zod": "^4.3.6"
}
}