2020-07-27 21:32:51 -07:00
|
|
|
{
|
2020-07-28 18:17:39 -07:00
|
|
|
"name": "@psf/bch-js",
|
2022-03-14 14:43:52 -07:00
|
|
|
"version": "6.0.0",
|
2025-11-16 13:37:04 -08:00
|
|
|
"type": "module",
|
2022-03-14 14:43:52 -07:00
|
|
|
"description": "A JavaScript library for working with Bitcoin Cash, eCash, and SLP Tokens",
|
2020-07-27 21:32:51 -07:00
|
|
|
"author": "Chris Troutner <chris.troutner@gmail.com>",
|
|
|
|
|
"contributors": [
|
2021-05-16 14:22:33 +09:00
|
|
|
"Gabriel Cardona <gabriel@bitcoin.com>",
|
|
|
|
|
"Stoyan Zhekov <zh@zhware.net>"
|
2020-07-27 21:32:51 -07:00
|
|
|
],
|
|
|
|
|
"main": "src/bch-js",
|
|
|
|
|
"scripts": {
|
2025-11-16 13:37:04 -08:00
|
|
|
"test": "c8 mocha --trace-warnings --unhandled-rejections=strict --timeout 30000 test/unit/",
|
2025-11-25 08:31:11 -08:00
|
|
|
"test:integration": "npm run test:integration:local:noauth",
|
2025-11-23 10:30:23 -08:00
|
|
|
"test:integration:nft": "export RESTURL=https://bchn.fullstack.cash/v6/ && export IS_USING_FREE_TIER=true && mocha --timeout 30000 -g '#nft1' test/integration/slp.js",
|
|
|
|
|
"test:integration:bchn": "export RESTURL=https://bchn.fullstack.cash/v6/ && export IS_USING_FREE_TIER=true && mocha --timeout 30000 test/integration/",
|
2025-11-25 08:31:11 -08:00
|
|
|
"test:integration:local:noauth": "export RESTURL=http://localhost:5942/v6/ && mocha --timeout 30000 test/integration/",
|
2025-11-25 16:36:10 -08:00
|
|
|
"test:integration:local:auth": "export RESTURL=http://5.78.147.3:5942/v6/ && export BCHJSBEARERTOKEN=temp01 && mocha --timeout 30000 test/integration/",
|
2025-11-25 08:31:11 -08:00
|
|
|
"test:integration:decatur": "export RESTURL=http://192.168.2.127:5942/v6/ && mocha --timeout 30000 test/integration/",
|
2025-11-25 12:09:46 -08:00
|
|
|
"test:integration:x402": "export RESTURL=http://localhost:5942/v6/ && export BCHJSWIF=L1eYaneXDDXy8VDig4Arwe8wYHbhtsA5wuQvwsKwhaYeneoZuKG4 && mocha --timeout 30000 test/integration/",
|
2025-11-16 11:53:25 -08:00
|
|
|
"coverage": "nyc --reporter=html mocha --timeout 25000 test/unit/",
|
2025-11-16 19:40:15 -08:00
|
|
|
"docs": "./node_modules/.bin/apidoc -i src/ -o docs && ./fix-docs-contrast.sh",
|
2021-01-02 15:41:12 -08:00
|
|
|
"lint": "standard --env mocha --fix"
|
2020-07-27 21:32:51 -07:00
|
|
|
},
|
|
|
|
|
"license": "MIT",
|
2020-07-28 18:17:39 -07:00
|
|
|
"homepage": "https://github.com/Permissionless-Software-Foundation/bch-js",
|
2020-07-27 21:32:51 -07:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
2020-07-28 18:17:39 -07:00
|
|
|
"url": "git+https://github.com/Permissionless-Software-Foundation/bch-js.git"
|
2020-07-27 21:32:51 -07:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2021-11-01 06:18:55 -07:00
|
|
|
"@chris.troutner/bip32-utils": "1.0.5",
|
2022-03-10 16:37:11 -08:00
|
|
|
"@psf/bip21": "2.0.1",
|
2021-10-31 14:22:36 -07:00
|
|
|
"@psf/bitcoincash-ops": "2.0.0",
|
2023-01-22 09:39:03 -08:00
|
|
|
"@psf/bitcoincashjs-lib": "4.0.3",
|
2021-10-31 14:22:36 -07:00
|
|
|
"@psf/coininfo": "4.0.0",
|
2025-11-16 10:55:44 -08:00
|
|
|
"axios": "1.13.2",
|
2021-10-31 14:22:36 -07:00
|
|
|
"bc-bip68": "1.0.5",
|
2025-11-16 10:55:44 -08:00
|
|
|
"bchaddrjs-slp": "0.2.14",
|
2021-10-31 14:22:36 -07:00
|
|
|
"bigi": "1.4.2",
|
2025-11-16 10:55:44 -08:00
|
|
|
"bignumber.js": "9.3.1",
|
|
|
|
|
"bip-schnorr": "0.6.7",
|
2025-11-16 11:34:26 -08:00
|
|
|
"bip38": "3.1.1",
|
|
|
|
|
"bip39": "3.1.0",
|
2021-10-31 14:22:36 -07:00
|
|
|
"bip66": "1.1.5",
|
2025-11-16 11:34:26 -08:00
|
|
|
"bitcoinjs-message": "2.2.0",
|
2021-10-31 14:22:36 -07:00
|
|
|
"bs58": "4.0.1",
|
|
|
|
|
"ecashaddrjs": "1.0.7",
|
2025-11-16 11:38:56 -08:00
|
|
|
"ini": "6.0.0",
|
|
|
|
|
"randombytes": "2.1.0",
|
|
|
|
|
"safe-buffer": "5.2.1",
|
2025-11-16 11:44:45 -08:00
|
|
|
"satoshi-bitcoin": "1.0.5",
|
|
|
|
|
"slp-mdm": "0.0.7",
|
2020-07-27 21:32:51 -07:00
|
|
|
"slp-parser": "0.0.4",
|
2025-11-25 10:59:30 -08:00
|
|
|
"wif": "2.0.6",
|
|
|
|
|
"x402-bch-axios": "1.1.1"
|
2020-07-27 21:32:51 -07:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2025-11-16 19:40:15 -08:00
|
|
|
"apidoc": "1.2.0",
|
2025-11-16 13:37:04 -08:00
|
|
|
"assert": "2.1.0",
|
|
|
|
|
"c8": "10.1.3",
|
2021-10-31 14:22:36 -07:00
|
|
|
"chai": "4.1.2",
|
2022-03-14 14:49:28 -07:00
|
|
|
"husky": "4.3.8",
|
2021-10-31 14:22:36 -07:00
|
|
|
"lodash.clonedeep": "4.5.0",
|
2025-11-25 16:40:38 -08:00
|
|
|
"mocha": "11.7.5",
|
2021-10-31 14:22:36 -07:00
|
|
|
"nyc": "15.1.0",
|
2025-11-25 16:40:38 -08:00
|
|
|
"semantic-release": "24.2.9",
|
2021-11-03 10:16:38 -07:00
|
|
|
"sinon": "9.2.2",
|
2025-11-16 13:47:24 -08:00
|
|
|
"standard": "17.1.2"
|
2020-07-27 21:32:51 -07:00
|
|
|
},
|
|
|
|
|
"apidoc": {
|
|
|
|
|
"title": "bch-js",
|
|
|
|
|
"url": "bchjs."
|
2025-11-16 13:47:24 -08:00
|
|
|
},
|
|
|
|
|
"husky": {
|
|
|
|
|
"hooks": {
|
|
|
|
|
"pre-commit": "npm run lint"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"standard": {
|
|
|
|
|
"parserOptions": {
|
|
|
|
|
"ecmaVersion": "latest"
|
|
|
|
|
}
|
2020-07-27 21:32:51 -07:00
|
|
|
}
|
|
|
|
|
}
|