Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 3.34 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 3.34 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
{
"name": "playground",
"type": "module",
"version": "3.1.2",
"scripts": {
"descriptors/legacy2segwit": "tsx ./descriptors/legacy2segwit/index.ts",
"descriptors/miniscript": "tsx ./descriptors/miniscript/index.ts",
"descriptors/ledger": "tsx ./descriptors/ledger/index.ts",
"descriptors/p2a": "tsx ./descriptors/p2a/index.ts",
"descriptors/inscriptions": "tsx ./descriptors/inscriptions/index.ts",
"descriptors/rewind2": "tsx ./descriptors/rewind2/index.ts",
"build": "npx tsc",
"lint": "eslint . --ext .ts --ignore-pattern '**/*.d.ts'"
},
"author": "Jose-Luis Landabaso",
"note-on-dependecies": "@noble/hashes, create-hash and randombytes are explicitly added to address an issue in CodeSandbox where it's unable to resolve the environment correctly. CodeSandbox should be identifying a browser environment and selecting the appropriate random system functions, rather than defaulting to Node.js ones.",
"dependencies": {
"@bitcoinerlab/btcmessage": "^4.0.1",
"@bitcoinerlab/coinselect": "^2.0.0",
"@bitcoinerlab/descriptors": "^3.1.7",
"@bitcoinerlab/discovery": "^2.0.0",
"@bitcoinerlab/explorer": "^1.0.0",
"@bitcoinerlab/miniscript": "^2.0.0",
"@bitcoinerlab/miniscript-policies": "^1.1.0",
"@bitcoinerlab/secp256k1": "^1.2.0",
"@ledgerhq/hw-transport-node-hid": "^6.29.14",
"@ledgerhq/hw-transport-webhid": "^6.30.9",
"@ledgerhq/ledger-bitcoin": "^0.3.0",
"@noble/ciphers": "^2.1.1",
"@noble/curves": "^2.0.1",
"@noble/hashes": "^1.8.0",
"bip174": "^2.1.1",
"bip39": "^3.1.0",
"bip65": "^1.0.3",
"create-hash": "^1.2.0",
"fs": "^0.0.1-security",
"pushdata-bitcoin": "^1.0.1",
"randombytes": "^2.1.0",
"uint8array-tools": "^0.0.9",
"valibot": "1.2.0",
"varuint-bitcoin": "^2.0.0"
},
"comment": [
"Note to devs:",
"For CodeSandbox and local development to work properly, each descriptors/*/package.json must be a hardlink of the root package.json.",
"Do NOT use symlinks.",
"",
"To recreate all hardlinks, run the following commands:",
"rm descriptors/ledger/package.json",
"rm descriptors/luna/package.json",
"rm descriptors/multisig-fallback-timelock/package.json",
"rm descriptors/legacy2segwit/package.json",
"rm descriptors/miniscript/package.json",
"rm descriptors/p2a/package.json",
"rm descriptors/inscriptions/package.json",
"rm descriptors/rewind2/package.json",
"",
"ln package.json descriptors/ledger/package.json",
"ln package.json descriptors/luna/package.json",
"ln package.json descriptors/multisig-fallback-timelock/package.json",
"ln package.json descriptors/legacy2segwit/package.json",
"ln package.json descriptors/miniscript/package.json",
"ln package.json descriptors/p2a/package.json",
"ln package.json descriptors/inscriptions/package.json",
"ln package.json descriptors/rewind2/package.json",
"",
"Same applies to the codesandboxFixes.ts file.",
"See the comment at the top of ./descriptors/codesandboxFixes.ts for instructions."
],
"devDependencies": {
"@types/node": "^24.10.1",
"@typescript-eslint/eslint-plugin": "^8.46.4",
"@typescript-eslint/parser": "^8.46.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"prettier": "^3.6.2",
"tsx": "^4.20.6",
"typescript": "^5.9.3"
}
}