Files
trezor-suite/packages/utxo-lib/package.json
2026-01-27 18:29:02 +01:00

93 lines
3.3 KiB
JSON

{
"name": "@trezor/utxo-lib",
"version": "10.0.0-alpha.1",
"author": "Trezor <info@trezor.io>",
"homepage": "https://github.com/trezor/trezor-suite/tree/develop/packages/utxo-lib",
"description": "Client-side Bitcoin-like JavaScript library",
"npmPublishAccess": "public",
"license": "SEE LICENSE IN LICENSE.md",
"repository": {
"type": "git",
"url": "git://github.com/trezor/trezor-suite.git"
},
"bugs": {
"url": "https://github.com/trezor/trezor-suite/issues"
},
"keywords": [
"Trezor",
"bitcoin",
"altcoins",
"utxo",
"javascript"
],
"main": "./src/index.ts",
"files": [
"lib/",
"libESM/",
"CHANGELOG.md"
],
"publishConfig": {
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"import": "./libESM/index.js",
"require": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./lib/*": "./lib/*.js",
"./libESM/*.js": "./libESM/*.js",
"./lib/types": "./lib/types/index.js",
"./lib/transaction": "./lib/transaction/index.js",
"./lib/payments": "./lib/payments/index.js",
"./lib/compose": "./lib/compose/index.js",
"./lib/coinselect": "./lib/coinselect/index.js",
"./lib/script": "./lib/script/index.js",
"./libESM/types.js": "./libESM/types/index.js",
"./libESM/transaction.js": "./libESM/transaction/index.js",
"./libESM/payments.js": "./libESM/payments/index.js",
"./libESM/compose.js": "./libESM/compose/index.js",
"./libESM/coinselect.js": "./libESM/coinselect/index.js",
"./libESM/script.js": "./libESM/script/index.js"
}
},
"scripts": {
"depcheck": "yarn g:depcheck",
"test:unit": "yarn g:jest --verbose -c jest.config.js",
"type-check": "yarn g:tsc --build tsconfig.json",
"build:lib": "yarn build:lib:cjs && yarn build:lib:esm",
"build:lib:cjs": "yarn g:rimraf ./lib && yarn g:tsc --build tsconfig.lib.json && ../../scripts/publish/replace-imports.sh ./lib cjs",
"build:lib:esm": "yarn g:rimraf ./libESM && yarn g:tsc --build tsconfig.libESM.json && ../../scripts/publish/replace-imports.sh ./libESM esm",
"prepublishOnly": "yarn tsx ../../scripts/publish/prepublishNPM.js"
},
"dependencies": {
"@trezor/utils": "workspace:*",
"bech32": "^2.0.0",
"bip66": "^2.0.0",
"bitcoin-ops": "^1.4.1",
"blake-hash": "^2.0.0",
"blakejs": "^1.2.1",
"bn.js": "^5.2.2",
"bs58": "^6.0.0",
"bs58check": "^4.0.0",
"cashaddrjs": "0.4.4",
"create-hmac": "^1.1.7",
"int64-buffer": "^1.1.0",
"pushdata-bitcoin": "^1.0.1",
"tiny-secp256k1": "^1.1.7",
"typeforce": "^1.18.0",
"varuint-bitcoin": "2.0.0",
"wif": "^5.0.0"
},
"devDependencies": {
"@trezor/eslint": "workspace:*",
"@types/bn.js": "^5.2.0",
"@types/create-hmac": "^1.1.3",
"minimaldata": "^1.0.2",
"tsx": "^4.21.0"
},
"peerDependencies": {
"tslib": "^2.6.2"
}
}