forked from synonymdev/beignet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 5.25 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 5.25 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "beignet",
"version": "0.19.0",
"description": "A self-custodial, JS Bitcoin wallet + Lightning Network management library.",
"main": "dist/index.js",
"bin": {
"beignet": "./dist/cli/cli.js"
},
"scripts": {
"test": "npm run build && env mocha --exit -r ts-node/register 'tests/**/*.test.ts'",
"test:boost": "npm run build && env mocha --exit -r ts-node/register 'tests/boost.test.ts'",
"test:wallet": "npm run build && env mocha --exit -r ts-node/register 'tests/wallet.test.ts'",
"test:receive": "npm run build && env mocha --exit -r ts-node/register 'tests/receive.test.ts'",
"test:storage": "npm run build && env mocha --exit -r ts-node/register 'tests/storage.test.ts'",
"test:electrum": "npm run build && env mocha --exit -r ts-node/register 'tests/electrum.test.ts'",
"test:derivation": "npm run build && env mocha --exit -r ts-node/register 'tests/derivation.test.ts'",
"test:transaction": "npm run build && env mocha --exit -r ts-node/register 'tests/transaction.test.ts'",
"test:lightning": "npx mocha --exit --parallel --timeout 20000 -r ts-node/register --ignore 'tests/lightning/interop/**' --ignore 'tests/lightning/recovery-phase7-*.test.ts' 'tests/lightning/**/*.test.ts'",
"test:chaos": "npx mocha --exit --parallel -r ts-node/register --timeout 300000 --ignore 'tests/lightning/recovery-phase7-sigkill.test.ts' 'tests/lightning/recovery-phase7-*.test.ts'",
"test:sigkill": "npm run build && npx mocha --exit -r ts-node/register --timeout 600000 tests/lightning/recovery-phase7-sigkill.test.ts",
"test:conformance": "npx mocha --exit -r ts-node/register 'tests/lightning/conformance/**/*.test.ts'",
"test:interop": "npx mocha --exit --timeout 120000 -r ts-node/register 'tests/lightning/interop/**/*.test.ts'",
"test:interop:ffor": "npx mocha --exit --timeout 600000 -r ts-node/register tests/lightning/interop/ffor-variant-d-regtest.test.ts",
"test:local": "node scripts/run-suites.js",
"example": "ts-node example",
"beignet": "ts-node src/cli/cli.ts",
"test:cli": "npx mocha --exit --parallel --timeout 20000 -r ts-node/register --ignore 'tests/cli/daemon-security.test.ts' --ignore 'tests/cli/daemon-integration.test.ts' 'tests/cli/**/*.test.ts'",
"test:integration": "npx mocha --exit --timeout 60000 -r ts-node/register 'tests/cli/daemon-security.test.ts' 'tests/cli/daemon-integration.test.ts'",
"test:all": "npx mocha --exit --timeout 120000 -r ts-node/register 'tests/lightning/**/*.test.ts' 'tests/cli/**/*.test.ts'",
"example:lightning": "ts-node example/lightning.ts",
"lint": "eslint . --cache --ext .js,.jsx,.ts,.tsx",
"lint:check": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint . --fix --ext .js,.jsx,.ts,.tsx",
"tsc:check": "tsc -p tsconfig.json --noEmit",
"tsc:check:tests": "tsc -p tsconfig.test.json --noEmit",
"build": "tsc",
"docs:markdown": "npx typedoc --plugin typedoc-plugin-markdown --out docs/markdown src/index.ts",
"docs:html": "npx typedoc --out docs/html",
"docs": "npm run build && npm run docs:markdown && npm run docs:html"
},
"repository": {
"type": "git",
"url": "git+https://github.com/coreyphillips/beignet.git",
"baseUrl": "https://github.com/coreyphillips/beignet"
},
"keywords": [
"Bitcoin",
"wallet",
"lightning",
"lightning-network",
"bolt",
"ai-agent"
],
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"default": "./dist/index.js"
},
"./lightning": {
"types": "./dist/types/lightning/index.d.ts",
"default": "./dist/lightning/index.js"
},
"./cli": {
"types": "./dist/types/cli/index.d.ts",
"default": "./dist/cli/index.js"
}
},
"engines": {
"node": ">=18.0.0"
},
"files": [
"dist/",
"docs/",
"README.md",
"LICENSE"
],
"author": "coreyphillips",
"license": "MIT",
"overrides": {
"axios": "0.33.0",
"js-yaml": "4.3.2",
"serialize-javascript": "7.0.7"
},
"bugs": {
"url": "https://github.com/coreyphillips/beignet/issues"
},
"homepage": "https://github.com/coreyphillips/beignet#readme",
"dependencies": {
"@bitcoinerlab/secp256k1": "1.0.5",
"@brandonblack/musig": "^0.0.1-alpha.1",
"@types/better-sqlite3": "^7.6.13",
"bech32": "2.0.0",
"better-sqlite3": "^12.6.2",
"bip21": "2.0.3",
"bip32": "4.0.0",
"bip39": "3.1.0",
"bitcoin-address-validation": "2.2.3",
"bitcoin-units": "0.3.0",
"bitcoinjs-lib": "6.1.4",
"ecpair": "2.1.0",
"lodash.clonedeep": "4.5.0",
"net": "1.0.2",
"rn-electrum-client": "0.0.22",
"socks": "^2.8.7"
},
"devDependencies": {
"@types/chai": "4.3.0",
"@types/mocha": "9.0.0",
"@types/node": "20.4.10",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"bitcoin-json-rpc": "1.3.3",
"bw-electrum-client": "BlueWallet/rn-electrum-client#47acb51149e97fab249c3f8a314f708dbee4fb6e",
"chai": "4.3.4",
"eslint": "8.57.1",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "5.0.0",
"mocha": "10.8.2",
"prettier": "3.0.2",
"sinon": "18.0.0",
"ts-node": "10.9.0",
"typedoc": "0.24.8",
"typedoc-plugin-markdown": "3.15.4",
"typescript": "4.9"
}
}