use blanket over coveralls

This commit is contained in:
Daniel Cousens 2015-09-05 14:17:37 +10:00
parent 4ec7c40a02
commit ae89951546
3 changed files with 22 additions and 9 deletions

View file

@ -6,7 +6,7 @@ node_js:
- "0.11"
- "0.10"
env:
- TEST_SUITE=coveralls
- TEST_SUITE=coverage
- TEST_SUITE=integration
- TEST_SUITE=standard
- TEST_SUITE=unit

View file

@ -2,7 +2,6 @@
[![Build Status](https://travis-ci.org/bitcoinjs/bitcoinjs-lib.png?branch=master)](https://travis-ci.org/bitcoinjs/bitcoinjs-lib)
[![NPM](http://img.shields.io/npm/v/bip66.svg)](https://www.npmjs.org/package/bip66)
[![Coverage Status](https://coveralls.io/repos/bitcoinjs/bitcoinjs-lib/badge.png)](https://coveralls.io/r/bitcoinjs/bitcoinjs-lib)
[![tip for next commit](http://tip4commit.com/projects/735.svg)](http://tip4commit.com/projects/735)
[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

View file

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