Files
bch-js/package.json
T

87 lines
3.4 KiB
JSON
Raw Normal View History

2020-07-27 21:32:51 -07:00
{
2020-07-28 18:17:39 -07:00
"name": "@psf/bch-js",
2025-11-25 16:57:48 -08:00
"version": "7.0.0",
"type": "module",
2025-12-21 06:36:01 -07:00
"description": "A JavaScript library for working with Bitcoin Cash 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.js",
2020-07-27 21:32:51 -07:00
"scripts": {
"test": "export RESTURL=http://localhost:5942/v6 && c8 mocha --trace-warnings --unhandled-rejections=strict --timeout 30000 test/unit/",
"test:custom": "export RESTURL=http://localhost:5942/v6 && c8 mocha --trace-warnings --unhandled-rejections=strict --timeout 60000 ${MOCHA_GREP:+--grep $MOCHA_GREP} test/unit/",
2025-11-25 08:31:11 -08:00
"test:integration": "npm run test:integration:local:noauth",
2025-12-19 10:13:37 -07:00
"test:integration:fullstack:free": "export RESTURL=https://bch.fullstack.cash/v6 && mocha --timeout 60000 test/integration/",
2025-12-22 08:58:04 -07:00
"test:integration:fullstack:x402": "export RESTURL=https://x402-bch.fullstack.cash/v6 && export BCHJSWIF=L1eYaneXDDXy8VDig4Arwe8wYHbhtsA5wuQvwsKwhaYeneoZuKG4 && mocha --timeout 120000 test/integration/",
2026-02-04 09:44:19 -07:00
"test:integration:fullstack:auth": "export RESTURL=http://dev.fullstack.cash/v6 && export BCHJSBEARERTOKEN=test01 && mocha --timeout 30000 test/integration/",
2025-12-19 10:13:37 -07:00
"test:integration:local:noauth": "export RESTURL=http://localhost:5942/v6 && mocha --timeout 30000 test/integration/",
2025-12-09 14:16:29 -07:00
"test:integration:local:auth": "export RESTURL=http://192.168.1.115:5942/v6 && export BCHJSBEARERTOKEN=temp01 && mocha --timeout 30000 test/integration/",
2025-12-21 11:45:52 -07:00
"test:integration:local:x402": "export RESTURL=http://localhost:5942/v6 && export BCHJSWIF=L1eYaneXDDXy8VDig4Arwe8wYHbhtsA5wuQvwsKwhaYeneoZuKG4 && mocha --timeout 1200000 test/integration/",
2026-02-04 09:44:19 -07:00
"test:integration:decatur": "export RESTURL=http://192.168.1.65:5942/v6 && 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": {
"@chris.troutner/bip32-utils": "1.0.5",
2022-03-10 16:37:11 -08:00
"@psf/bip21": "2.0.1",
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": "2.2.1"
2020-07-27 21:32:51 -07:00
},
"devDependencies": {
2025-11-16 19:40:15 -08:00
"apidoc": "1.2.0",
"assert": "2.1.0",
"c8": "10.1.3",
2021-10-31 14:22:36 -07:00
"chai": "4.1.2",
"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",
"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
}
}