2011-09-26 18:35:29 +02:00
|
|
|
{
|
|
|
|
"name": "bitcoinjs-lib",
|
2020-09-11 17:49:05 +02:00
|
|
|
"version": "5.2.0",
|
2011-09-26 18:35:29 +02:00
|
|
|
"description": "Client-side Bitcoin JavaScript library",
|
2019-01-04 10:33:02 +01:00
|
|
|
"main": "./src/index.js",
|
|
|
|
"types": "./types/index.d.ts",
|
2016-10-07 02:34:33 +02:00
|
|
|
"engines": {
|
2018-07-17 08:54:29 +02:00
|
|
|
"node": ">=8.0.0"
|
2016-10-06 12:22:24 +02:00
|
|
|
},
|
2011-09-26 18:35:29 +02:00
|
|
|
"keywords": [
|
2017-09-25 02:01:16 +02:00
|
|
|
"bitcoinjs",
|
2011-09-26 18:35:29 +02:00
|
|
|
"bitcoin",
|
2017-09-25 02:01:16 +02:00
|
|
|
"browserify",
|
|
|
|
"javascript",
|
|
|
|
"bitcoinjs"
|
2014-06-10 09:48:32 +02:00
|
|
|
],
|
2013-02-17 06:39:15 +01:00
|
|
|
"scripts": {
|
2019-04-21 14:30:21 +02:00
|
|
|
"build": "npm run clean && tsc -p ./tsconfig.json && npm run formatjs",
|
2019-09-07 06:42:03 +02:00
|
|
|
"build:tests": "npm run clean:jstests && tsc -p ./test/tsconfig.json",
|
2019-05-21 09:41:47 +02:00
|
|
|
"clean": "rimraf src types",
|
2019-09-07 06:42:03 +02:00
|
|
|
"clean:jstests": "rimraf 'test/**/!(ts-node-register)*.js'",
|
2018-12-29 03:10:25 +01:00
|
|
|
"coverage-report": "npm run build && npm run nobuild:coverage-report",
|
|
|
|
"coverage-html": "npm run build && npm run nobuild:coverage-html",
|
|
|
|
"coverage": "npm run build && npm run nobuild:coverage",
|
2019-03-03 16:27:08 +01:00
|
|
|
"format": "npm run prettier -- --write",
|
2019-12-15 12:53:52 +01:00
|
|
|
"formatjs": "npm run prettierjs -- --write",
|
2019-05-21 08:23:18 +02:00
|
|
|
"format:ci": "npm run prettier -- --check && npm run prettierjs -- --check",
|
2019-04-01 09:22:47 +02:00
|
|
|
"gitdiff:ci": "npm run build && git diff --exit-code",
|
2018-12-29 03:10:25 +01:00
|
|
|
"integration": "npm run build && npm run nobuild:integration",
|
2019-03-05 15:51:45 +01:00
|
|
|
"lint": "tslint -p tsconfig.json -c tslint.json",
|
2019-09-12 10:35:08 +02:00
|
|
|
"lint:tests": "tslint -p test/tsconfig.json -c tslint.json",
|
2019-09-07 06:42:03 +02:00
|
|
|
"mocha:ts": "mocha --recursive --require test/ts-node-register",
|
2018-12-29 03:10:25 +01:00
|
|
|
"nobuild:coverage-report": "nyc report --reporter=lcov",
|
|
|
|
"nobuild:coverage-html": "nyc report --reporter=html",
|
2019-09-07 06:42:03 +02:00
|
|
|
"nobuild:coverage": "npm run build:tests && nyc --check-coverage --branches 90 --functions 90 --lines 90 mocha && npm run clean:jstests",
|
|
|
|
"nobuild:integration": "npm run mocha:ts -- --timeout 50000 'test/integration/*.ts'",
|
|
|
|
"nobuild:unit": "npm run mocha:ts -- 'test/*.ts'",
|
2019-12-15 12:53:52 +01:00
|
|
|
"prettier": "prettier \"ts_src/**/*.ts\" \"test/**/*.ts\" --ignore-path ./.prettierignore",
|
|
|
|
"prettierjs": "prettier \"src/**/*.js\" --ignore-path ./.prettierignore",
|
2019-03-05 15:51:45 +01:00
|
|
|
"test": "npm run build && npm run format:ci && npm run lint && npm run nobuild:coverage",
|
2018-12-29 03:10:25 +01:00
|
|
|
"unit": "npm run build && npm run nobuild:unit"
|
2014-03-08 06:02:40 +01:00
|
|
|
},
|
2014-11-29 02:39:12 +01:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/bitcoinjs/bitcoinjs-lib.git"
|
|
|
|
},
|
2016-02-15 07:12:11 +01:00
|
|
|
"files": [
|
2019-01-17 08:52:58 +01:00
|
|
|
"src",
|
|
|
|
"types"
|
2016-02-15 07:12:11 +01:00
|
|
|
],
|
2014-03-08 06:02:40 +01:00
|
|
|
"dependencies": {
|
2017-12-17 02:41:39 +01:00
|
|
|
"bech32": "^1.1.2",
|
2020-09-11 17:19:21 +02:00
|
|
|
"bip174": "^2.0.1",
|
2019-07-25 15:43:06 +02:00
|
|
|
"bip32": "^2.0.4",
|
2015-08-22 03:54:00 +02:00
|
|
|
"bip66": "^1.1.0",
|
2017-12-01 03:13:55 +01:00
|
|
|
"bitcoin-ops": "^1.4.0",
|
2016-12-21 02:52:09 +01:00
|
|
|
"bs58check": "^2.0.0",
|
2015-03-17 02:31:53 +01:00
|
|
|
"create-hash": "^1.1.0",
|
|
|
|
"create-hmac": "^1.1.3",
|
2017-04-18 04:32:17 +02:00
|
|
|
"merkle-lib": "^2.0.10",
|
2016-12-17 15:24:00 +01:00
|
|
|
"pushdata-bitcoin": "^1.0.1",
|
2015-03-17 02:31:53 +01:00
|
|
|
"randombytes": "^2.0.1",
|
2020-12-02 10:40:29 +01:00
|
|
|
"tiny-secp256k1": "^1.1.6",
|
2017-08-09 08:03:12 +02:00
|
|
|
"typeforce": "^1.11.3",
|
2016-10-06 12:53:48 +02:00
|
|
|
"varuint-bitcoin": "^1.0.4",
|
2016-02-24 11:08:40 +01:00
|
|
|
"wif": "^2.0.1"
|
2014-11-29 02:39:12 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-09-07 06:42:03 +02:00
|
|
|
"@types/bs58": "^4.0.0",
|
|
|
|
"@types/mocha": "^5.2.7",
|
2019-11-25 15:20:06 +01:00
|
|
|
"@types/node": "12.7.5",
|
2019-09-07 06:42:03 +02:00
|
|
|
"@types/proxyquire": "^1.3.28",
|
|
|
|
"bip39": "^3.0.2",
|
2018-02-01 02:54:20 +01:00
|
|
|
"bip65": "^1.0.1",
|
2017-12-01 03:13:55 +01:00
|
|
|
"bip68": "^1.0.3",
|
2018-06-25 08:15:45 +02:00
|
|
|
"bn.js": "^4.11.8",
|
2016-12-21 02:52:09 +01:00
|
|
|
"bs58": "^4.0.0",
|
2018-09-24 07:24:23 +02:00
|
|
|
"dhttp": "^3.0.0",
|
2018-09-13 09:34:50 +02:00
|
|
|
"hoodwink": "^2.0.0",
|
2016-12-17 15:24:49 +01:00
|
|
|
"minimaldata": "^1.0.2",
|
2020-03-19 00:06:12 +01:00
|
|
|
"mocha": "^7.1.1",
|
2020-01-06 04:02:31 +01:00
|
|
|
"nyc": "^15.0.0",
|
2019-03-07 07:54:58 +01:00
|
|
|
"prettier": "1.16.4",
|
2018-05-29 03:08:38 +02:00
|
|
|
"proxyquire": "^2.0.1",
|
2019-07-25 10:13:36 +02:00
|
|
|
"regtest-client": "0.2.0",
|
2019-05-13 11:35:02 +02:00
|
|
|
"rimraf": "^2.6.3",
|
2019-09-07 06:42:03 +02:00
|
|
|
"ts-node": "^8.3.0",
|
2020-03-19 00:06:12 +01:00
|
|
|
"tslint": "^5.20.1",
|
2019-03-05 15:51:45 +01:00
|
|
|
"typescript": "3.2.2"
|
2016-02-15 21:11:13 +01:00
|
|
|
},
|
2019-03-03 15:20:36 +01:00
|
|
|
"license": "MIT"
|
2011-09-26 18:35:29 +02:00
|
|
|
}
|