|
@ -32,18 +32,32 @@ |
|
|
} |
|
|
} |
|
|
], |
|
|
], |
|
|
"scripts": { |
|
|
"scripts": { |
|
|
"compile": "browserify ./src/index.js -s bitcoin > bitcoin.js", |
|
|
"coverage": "mocha --require blanket -R travis-cov", |
|
|
"coverage": "istanbul cover _mocha -- test/*.js", |
|
|
"coverage-local": "mocha --require blanket -R html-cov", |
|
|
"coveralls": "npm run-script coverage && coveralls < coverage/lcov.info", |
|
|
|
|
|
"integration": "mocha test/integration/", |
|
|
"integration": "mocha test/integration/", |
|
|
|
|
|
"prepublish": "npm run test", |
|
|
"standard": "standard", |
|
|
"standard": "standard", |
|
|
"test": "npm run-script unit && npm run standard", |
|
|
"test": "npm run standard && npm run unit", |
|
|
"unit": "mocha" |
|
|
"unit": "mocha" |
|
|
}, |
|
|
}, |
|
|
"repository": { |
|
|
"repository": { |
|
|
"type": "git", |
|
|
"type": "git", |
|
|
"url": "https://github.com/bitcoinjs/bitcoinjs-lib.git" |
|
|
"url": "https://github.com/bitcoinjs/bitcoinjs-lib.git" |
|
|
}, |
|
|
}, |
|
|
|
|
|
"config": { |
|
|
|
|
|
"blanket": { |
|
|
|
|
|
"pattern": [ |
|
|
|
|
|
"" |
|
|
|
|
|
], |
|
|
|
|
|
"data-cover-never": [ |
|
|
|
|
|
"node_modules", |
|
|
|
|
|
"test" |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
"travis-cov": { |
|
|
|
|
|
"threshold": 99 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
"dependencies": { |
|
|
"dependencies": { |
|
|
"bigi": "^1.4.0", |
|
|
"bigi": "^1.4.0", |
|
|
"bip66": "^1.1.0", |
|
|
"bip66": "^1.1.0", |
|
@ -57,15 +71,15 @@ |
|
|
}, |
|
|
}, |
|
|
"devDependencies": { |
|
|
"devDependencies": { |
|
|
"async": "^0.9.0", |
|
|
"async": "^0.9.0", |
|
|
|
|
|
"blanket": "^1.1.0", |
|
|
"browserify": "^10.0.0", |
|
|
"browserify": "^10.0.0", |
|
|
"bs58": "^2.0.1", |
|
|
"bs58": "^2.0.1", |
|
|
"cb-http-client": "^0.2.0", |
|
|
"cb-http-client": "^0.2.0", |
|
|
"coveralls": "^2.11.2", |
|
|
|
|
|
"httpify": "^1.0.0", |
|
|
"httpify": "^1.0.0", |
|
|
"istanbul": "^0.3.5", |
|
|
|
|
|
"mocha": "^2.2.0", |
|
|
"mocha": "^2.2.0", |
|
|
"proxyquire": "^1.4.0", |
|
|
"proxyquire": "^1.4.0", |
|
|
"sinon": "^1.12.2", |
|
|
"sinon": "^1.12.2", |
|
|
"standard": "^5.0.0" |
|
|
"standard": "^5.0.0", |
|
|
|
|
|
"travis-cov": "^0.2.0" |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|