mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-18 21:28:08 +01:00
97 lines
3.6 KiB
JSON
97 lines
3.6 KiB
JSON
{
|
|
"name": "@trezor/blockchain-link",
|
|
"version": "2.5.3",
|
|
"author": "Trezor <info@trezor.io>",
|
|
"homepage": "https://github.com/trezor/trezor-suite/tree/develop/packages/blockchain-link",
|
|
"description": "High-level javascript interface for blockchain communication",
|
|
"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",
|
|
"blockchain",
|
|
"blockbook",
|
|
"javascript"
|
|
],
|
|
"files": [
|
|
"lib/",
|
|
"!lib/ui",
|
|
"!**/*.map"
|
|
],
|
|
"main": "src/index.ts",
|
|
"browser": {
|
|
"socks-proxy-agent": "./src/utils/socks-proxy-agent.ts"
|
|
},
|
|
"react-native": {
|
|
"__comment__": "Hotfix for issue where RN metro bundler resolve relatives paths wrong",
|
|
"socks-proxy-agent": "@trezor/blockchain-link/src/utils/socks-proxy-agent.ts"
|
|
},
|
|
"publishConfig": {
|
|
"main": "./lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"typings": "lib/index.d.ts",
|
|
"browser": {
|
|
"socks-proxy-agent": "./lib/utils/socks-proxy-agent.js"
|
|
},
|
|
"react-native": {
|
|
"__comment__": "Hotfix for issue where RN metro bundler resolve relatives paths wrong",
|
|
"socks-proxy-agent": "@trezor/blockchain-link/lib/utils/socks-proxy-agent.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"dev": "webpack serve --config ./webpack/dev.js",
|
|
"dev:electrum": "yarn g:tsx watch ./src/workers/electrum/devrun.ts",
|
|
"dev:module": "USE_MODULES=true webpack serve --config ./webpack/dev.js",
|
|
"build:lib": "yarn g:rimraf lib && yarn g:tsc --build tsconfig.lib.json && ../../scripts/replace-imports.sh ./lib",
|
|
"build:workers": "yarn g:rimraf build && yarn build:workers-web && yarn build:workers-module",
|
|
"build:workers-web": "webpack --config ./webpack/workers.web.js",
|
|
"build:workers-module": "webpack --config ./webpack/workers.module.js",
|
|
"test:unit": "yarn g:jest --verbose -c jest.config.unit.js",
|
|
"test:integration": "yarn g:jest -c jest.config.integration.js",
|
|
"type-check": "yarn g:tsc --build tsconfig.json",
|
|
"prepublishOnly": "yarn tsx ../../scripts/prepublishNPM.js",
|
|
"prepublish": "yarn tsx ../../scripts/prepublish.js",
|
|
"depcheck": "yarn g:depcheck"
|
|
},
|
|
"devDependencies": {
|
|
"@trezor/e2e-utils": "workspace:*",
|
|
"@trezor/eslint": "workspace:*",
|
|
"@trezor/type-utils": "workspace:*",
|
|
"@types/jest": "29.5.12",
|
|
"@types/node": "22.13.10",
|
|
"html-webpack-plugin": "^5.6.3",
|
|
"tiny-worker": "^2.3.0",
|
|
"tsx": "^4.20.3",
|
|
"webpack": "5.100.0"
|
|
},
|
|
"dependencies": {
|
|
"@solana-program/compute-budget": "^0.8.0",
|
|
"@solana-program/stake": "^0.2.1",
|
|
"@solana-program/token": "^0.5.1",
|
|
"@solana-program/token-2022": "^0.4.2",
|
|
"@solana/kit": "^2.3.0",
|
|
"@solana/rpc-types": "^2.3.0",
|
|
"@stellar/stellar-sdk": "^13.3.0",
|
|
"@trezor/blockchain-link-types": "workspace:*",
|
|
"@trezor/blockchain-link-utils": "workspace:*",
|
|
"@trezor/env-utils": "workspace:*",
|
|
"@trezor/utils": "workspace:*",
|
|
"@trezor/utxo-lib": "workspace:*",
|
|
"@trezor/websocket-client": "workspace:*",
|
|
"@types/web": "^0.0.197",
|
|
"crypto-browserify": "3.12.0",
|
|
"socks-proxy-agent": "8.0.5",
|
|
"stream-browserify": "^3.0.0",
|
|
"xrpl": "^4.4.0"
|
|
},
|
|
"peerDependencies": {
|
|
"tslib": "^2.6.2"
|
|
}
|
|
}
|