Merge pull request #454 from bitcoinjs/blanket

use blanket over coveralls
This commit is contained in:
Daniel Cousens 2015-09-05 14:37:58 +10:00
commit 752cf4b6c1
3 changed files with 22 additions and 9 deletions

View file

@ -6,7 +6,7 @@ node_js:
- "0.11" - "0.11"
- "0.10" - "0.10"
env: env:
- TEST_SUITE=coveralls - TEST_SUITE=coverage
- TEST_SUITE=integration - TEST_SUITE=integration
- TEST_SUITE=standard - TEST_SUITE=standard
- TEST_SUITE=unit - 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) [![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) [![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) [![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) [![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

View file

@ -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"
} }
} }