Skip to content

Commit

Permalink
Add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
sublimator committed Oct 3, 2015
1 parent 42ad9ca commit a3c5eda
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -3,4 +3,5 @@ node_js:
- '0.12'
script:
- npm test --coverage
- npm run-script lint
- npm run codecov
- npm run lint
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# x-address-codec
# x-address-codec [![NPM](https://img.shields.io/npm/v/x-address-codec.svg)](https://npmjs.org/package/x-address-codec) [![Build Status](https://img.shields.io/travis/ripple/x-address-codec/master.svg)](https://travis-ci.org/ripple/x-address-codec) [![codecov.io](http://codecov.io/github/ripple/x-address-codec/coverage.svg?branch=master)](http://codecov.io/github/ripple/x-address-codec?branch=master)

This is a meta package, that exposes an api factory. It's really not as boring
as it sounds. We only ask you bring your own hash
Expand Down
31 changes: 16 additions & 15 deletions package.json
Expand Up @@ -15,31 +15,32 @@
},
"devDependencies": {
"assert-diff": "^1.0.1",
"babel": "^5.3.3",
"babel-core": "^5.3.2",
"babel-eslint": "^4.0.5",
"babel-loader": "^5.0.0",
"bn.js": "^2.0.5",
"coveralls": "~2.10.0",
"create-hash": "^1.1.1",
"eslint": "^1.2.1",
"babel": "^5.8.23",
"babel-core": "^5.8.25",
"babel-eslint": "^4.1.3",
"babel-loader": "^5.3.2",
"bn.js": "^3.2.0",
"codecov.io": "^0.1.6",
"coveralls": "~2.11.4",
"create-hash": "^1.1.2",
"eslint": "^1.6.0",
"eventemitter2": "^0.4.14",
"hash.js": "^1.0.3",
"istanbul": "~0.3.5",
"lodash": "^3.9.3",
"istanbul": "~0.3.21",
"lodash": "^3.10.1",
"map-stream": "~0.1.0",
"mocha": "~2.1.0",
"nock": "^0.34.1",
"webpack": "~1.5.3",
"yargs": "~1.3.1"
"mocha": "~2.3.3",
"nock": "^2.13.0",
"webpack": "~1.12.2",
"yargs": "~3.26.0"
},
"scripts": {
"build": "gulp",
"compile": "babel -i runtime -d dist/npm/ src/",
"compile-with-source-maps": "babel -i runtime -s -t -d dist/npm/ src/",
"prepublish": "npm test && npm run lint && npm run compile",
"test": "istanbul test _mocha",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"codecov": "cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js",
"lint": "if ! [ -f eslintrc ]; then curl -o eslintrc 'https://raw.githubusercontent.com/ripple/javascript-style-guide/es6/eslintrc'; fi; eslint -c eslintrc src/*.js"
},
"repository": {
Expand Down

0 comments on commit a3c5eda

Please sign in to comment.