Files
bch-js/package.json
T

95 lines
4.5 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",
2022-03-14 14:43:52 -07:00
"version": "6.0.0",
"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": {
"test": "nyc mocha --trace-warnings --unhandled-rejections=strict --timeout 30000 test/unit/",
2020-12-08 17:42:31 -08:00
"test:integration": "npm run test:integration:bchn",
2021-06-16 19:12:48 -07:00
"test:integration:nft": "export RESTURL=https://bchn.fullstack.cash/v5/ && export IS_USING_FREE_TIER=true && mocha --timeout 30000 -g '#nft1' test/integration/chains/bchn/slp.js",
"test:integration:abc": "export RESTURL=https://abc.fullstack.cash/v5/ && mocha --timeout 30000 test/integration/ && mocha --timeout 30000 test/integration/chains/abc/",
2021-06-16 19:12:48 -07:00
"test:integration:bchn": "export RESTURL=https://bchn.fullstack.cash/v5/ && export IS_USING_FREE_TIER=true && mocha --timeout 30000 test/integration/ && mocha --timeout 30000 test/integration/chains/bchn/",
"test:integration:bchn:slpdb": "export TESTSLP=1 && export RESTURL=https://bchn.fullstack.cash/v5/ && export IS_USING_FREE_TIER=true && mocha --timeout 30000 test/integration/ && mocha --timeout 30000 test/integration/chains/bchn/",
2021-06-16 19:12:48 -07:00
"test:integration:local:abc": "export RESTURL=http://localhost:3000/v5/ && mocha --timeout 30000 test/integration && mocha --timeout 30000 test/integration/chains/abc/",
"test:integration:local:bchn": "export RESTURL=http://localhost:3000/v5/ && mocha --timeout 30000 test/integration/ && mocha --timeout 30000 test/integration/chains/bchn/",
"test:integration:local:testnet": "RESTURL=http://localhost:4000/v5/ mocha --timeout 30000 test/integration/chains/testnet",
"test:integration:decatur:bchn": "export RESTURL=http://192.168.2.129:3000/v5/ && mocha --timeout 30000 test/integration/ && mocha --timeout 30000 test/integration/chains/bchn/",
2022-10-16 13:23:16 -07:00
"test:integration:decatur:abc": "export RESTURL=http://192.168.2.142:3000/v5/ && mocha --timeout 30000 test/integration && mocha --timeout 30000 test/integration/chains/abc/",
2021-06-16 19:12:48 -07:00
"test:integration:temp:bchn": "export RESTURL=http://157.90.174.219:3000/v5/ && mocha --timeout 30000 test/integration/",
"test:temp": "export RESTURL=http://localhost:3000/v5/ && mocha --timeout 30000 -g '#Encryption' test/integration/",
2021-03-24 07:24:08 -07:00
"test:temp2": "mocha --timeout=30000 -g '#TransactionLib' test/unit/",
2021-06-22 12:24:29 -07:00
"test:temp3": "export RESTURL=https://bchn.fullstack.cash/v5/ && mocha --timeout 30000 -g '#DSProof' test/integration/chains/",
2021-06-16 19:12:48 -07:00
"test:temp4": "export RESTURL=http://localhost:3000/v5/ && mocha --timeout 30000 -g '#decodeOpReturn' test/integration/",
2020-07-27 21:32:51 -07:00
"coverage": "nyc report --reporter=text-lcov | coveralls",
"coverage:report": "nyc --reporter=html mocha --timeout 25000 test/unit/",
2021-01-02 15:41:12 -08:00
"docs": "./node_modules/.bin/apidoc -i src/ -o docs",
"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",
2021-10-31 14:22:36 -07:00
"@psf/bitcoincash-ops": "2.0.0",
"@psf/bitcoincashjs-lib": "4.0.2",
"@psf/coininfo": "4.0.0",
"axios": "0.26.1",
2021-10-31 14:22:36 -07:00
"bc-bip68": "1.0.5",
"bchaddrjs-slp": "0.2.5",
"bigi": "1.4.2",
"bignumber.js": "9.0.0",
"bip-schnorr": "0.3.0",
"bip38": "2.0.2",
"bip39": "3.0.2",
"bip66": "1.1.5",
"bitcoinjs-message": "2.0.0",
"bs58": "4.0.1",
"ecashaddrjs": "1.0.7",
"ini": "1.3.8",
"randombytes": "2.0.6",
"safe-buffer": "5.1.2",
"satoshi-bitcoin": "1.0.4",
2020-07-27 21:32:51 -07:00
"slp-mdm": "0.0.6",
"slp-parser": "0.0.4",
2021-10-31 14:22:36 -07:00
"wif": "2.0.6"
2020-07-27 21:32:51 -07:00
},
"devDependencies": {
"apidoc": "0.50.5",
2021-10-31 14:22:36 -07:00
"assert": "2.0.0",
"chai": "4.1.2",
"coveralls": "3.0.2",
"eslint": "7.17.0",
"eslint-config-prettier": "7.1.0",
"eslint-config-standard": "16.0.3",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.3.1",
2021-10-31 14:22:36 -07:00
"eslint-plugin-standard": "4.0.0",
"husky": "4.3.8",
2021-10-31 14:22:36 -07:00
"lodash.clonedeep": "4.5.0",
"mocha": "9.2.1",
2021-10-31 14:22:36 -07:00
"node-mocks-http": "1.7.0",
"nyc": "15.1.0",
2022-03-10 16:37:11 -08:00
"semantic-release": "^19.0.2",
"sinon": "9.2.2",
2021-10-31 14:22:36 -07:00
"standard": "^16.0.4"
2020-07-27 21:32:51 -07:00
},
"apidoc": {
"title": "bch-js",
"url": "bchjs."
2021-01-02 16:44:53 -08:00
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
2020-07-27 21:32:51 -07:00
}
}