Merge pull request #53 from matiu/travis/coveralls
add coveralls script
This commit is contained in:
commit
8ea02d2fa8
|
@ -22,11 +22,13 @@
|
|||
"bitcore-explorers": "^0.9.1",
|
||||
"body-parser": "^1.11.0",
|
||||
"commander": "^2.6.0",
|
||||
"coveralls": "^2.11.2",
|
||||
"express": "^4.10.0",
|
||||
"inherits": "^2.0.1",
|
||||
"leveldown": "^0.10.0",
|
||||
"levelup": "^0.19.0",
|
||||
"lodash": "^3.2.0",
|
||||
"lodash": "*",
|
||||
"mocha-lcov-reporter": "0.0.1",
|
||||
"morgan": "*",
|
||||
"npmlog": "^0.1.1",
|
||||
"preconditions": "^1.0.7",
|
||||
|
@ -47,6 +49,7 @@
|
|||
"scripts": {
|
||||
"start": "node server.js",
|
||||
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --reporter spec test",
|
||||
"test": "./node_modules/.bin/mocha"
|
||||
"test": "./node_modules/.bin/mocha",
|
||||
"coveralls": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue