-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 8.63 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 8.63 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
{
"name": "@utexo/rgb-sdk",
"version": "1.0.0-beta.9",
"bin": {
"utexo": "cli/run.mjs"
},
"devDependencies": {
"@eslint/js": "^9.35.0",
"@types/jest": "^30.0.0",
"@types/node": "^22.17.2",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "^9.35.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"jest": "^30.2.0",
"prettier": "^3.0.0",
"ts-jest": "^29.4.5",
"tsup": "^8.5.0",
"typescript": "^5.9.2"
},
"type": "commonjs",
"scripts": {
"prettier": "prettier --write \"**/*.{js,ts,tsx}\"",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"dev": "tsc -w",
"build": "tsup",
"test": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest",
"test:signet": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.signet.config.js --runInBand --verbose",
"test:signet:smoke": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.signet.config.js --runInBand --verbose --runTestsByPath tests/signet/offline-receiver-smoke.test.ts",
"test:regtest": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose",
"test:regtest:relay-only": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/relay-only-mode.test.ts",
"test:regtest:upload-guard": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/upload-guard.test.ts",
"test:regtest:smoke": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/offline-receiver.test.ts",
"test:regtest:offline-delayed-refresh": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/offline-receiver-delayed-refresh.test.ts",
"test:regtest:ack-guard": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/ack-guard.test.ts",
"test:regtest:witness": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/witness-receiver.test.ts",
"test:regtest:nack": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/invalid-consignment.test.ts",
"test:watch": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --watch",
"test:coverage": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --coverage",
"version:patch": "npm version patch && git push && git push --tags && npm publish --access public",
"version:minor": "npm version minor && git push && git push --tags && npm publish --access public",
"version:major": "npm version major && git push && git push --tags && npm publish --access public",
"example:complete": "node --experimental-wasm-modules example-flow.mjs",
"example:utexo": "node example-utexo-flow.mjs",
"example:new-wallet": "node examples/new-wallet.mjs",
"example:create-utxos-asset": "node examples/create-utxos-asset.mjs",
"example:read-wallet": "node examples/read-wallet.mjs",
"example:rotate-address": "node examples/rotate-address.mjs",
"example:transfer": "node examples/transfer.mjs",
"example:onchain": "node examples/onchain-flow.mjs",
"example:vss": "node examples/utexo-vss-backup-restore.mjs",
"example:file-backup": "node examples/utexo-file-backup-restore.mjs",
"utexo": "node cli/run.mjs",
"generate_keys": "node cli/generate_keys.mjs",
"test:signet:witness": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.signet.config.js --runInBand --verbose --runTestsByPath tests/signet/witness-receiver-smoke.test.ts",
"test:signet:convergence": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.signet.config.js --runInBand --verbose --runTestsByPath tests/signet/offline-receiver-refresh-convergence.test.ts",
"test:signet:two-refresh": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.signet.config.js --runInBand --verbose --runTestsByPath tests/signet/offline-receiver-two-refresh-convergence.test.ts",
"test:signet:sequential": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.signet.config.js --runInBand --verbose --runTestsByPath tests/signet/sequential-receives-smoke.test.ts",
"test:regtest:preconfirm": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/pre-confirmation-gating.test.ts",
"test:regtest:relay-witness": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/relay-only-witness-mode.test.ts",
"test:regtest:roundtrip": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/real-consignment-roundtrip.test.ts",
"test:regtest:expired": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/expired-invoice.test.ts",
"test:regtest:donation-false": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/donation-false.test.ts",
"test:regtest:proxy-down": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/proxy-down-during-send.test.ts",
"test:regtest:restart-mid": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/restart-mid-flow.test.ts",
"test:regtest:send-batch": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/send-batch-same-receiver.test.ts",
"test:regtest:sequential-sends": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/sequential-sends-same-receiver.test.ts",
"test:regtest:restart-after-ack": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/restart-after-ack-before-settled.test.ts",
"test:regtest:expiry-race": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/expiry-race-near-boundary.test.ts",
"test:regtest:witness-donation-false": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/witness-donation-false.test.ts",
"test:regtest:sequential-receives": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --config jest.regtest.config.js --runInBand --verbose --runTestsByPath tests/regtest/sequential-receives-same-wallet.test.ts"
},
"files": [
"dist",
"README.md",
"cli"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"dependencies": {
"@bitcoindevkit/bdk-wallet-node": "^0.2.0",
"@noble/hashes": "^2.0.1",
"@scure/btc-signer": "^2.0.1",
"@utexo/rgb-lib": "0.3.0-beta.16.dev",
"@utexo/rgb-sdk-core": "1.0.0-beta.3",
"axios": "^1.8.4",
"bare-node-runtime": "^1.1.4",
"bitcoinjs-lib": "^6.1.7",
"form-data": "^4.0.0",
"ripemd160": "^2.0.3"
},
"optionalDependencies": {
"@utexo/rgb-lib-darwin-arm64": "0.3.0-beta.16.dev",
"@utexo/rgb-lib-linux-arm64": "0.3.0-beta.16.dev",
"@utexo/rgb-lib-linux-x64": "0.3.0-beta.16.dev"
},
"keywords": [
"rgb",
"rgb-protocol",
"bitcoin",
"sdk",
"bdk",
"wasm",
"taproot",
"assets",
"blockchain"
],
"license": "MIT",
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
}