Skip to content

Commit

Permalink
Add nyc and coveralls (#597)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphtheninja authored and vweevers committed Jul 1, 2018
1 parent 32a5e1f commit a96aa21
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ bulk2ssd_pop.config
libpeerconnection.log
yarn.lock
package-lock.json
.nyc_output/
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ matrix:

script:
- DEBUG=airtap:* npm run $CMD

after_success: npm run coverage
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
[![npm](https://img.shields.io/npm/v/levelup.svg)](https://www.npmjs.com/package/levelup)
![Node version](https://img.shields.io/node/v/levelup.svg)
[![Build Status](https://secure.travis-ci.org/Level/levelup.svg?branch=master)](http://travis-ci.org/Level/levelup)
[![david](https://david-dm.org/Level/levelup.svg)](https://david-dm.org/level/levelup)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![dependencies](https://david-dm.org/Level/levelup.svg)](https://david-dm.org/level/levelup)
[![npm](https://img.shields.io/npm/dm/levelup.svg)](https://www.npmjs.com/package/levelup)
[![Coverage Status](https://coveralls.io/repos/github/Level/levelup/badge.svg)](https://coveralls.io/github/Level/levelup)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Table of Contents

Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@
"browserify": "^16.0.0",
"bustermove": "~1.0.0",
"concat-stream": "~1.6.0",
"coveralls": "~3.0.2",
"delayed": "~1.0.1",
"encoding-down": "^5.0.0",
"faucet": "~0.0.1",
"level-community": "~3.0.0",
"memdown": "^3.0.0",
"nyc": "~12.0.2",
"pinkie": "~2.0.4",
"referee": "~1.2.0",
"remark-cli": "^5.0.0",
Expand All @@ -49,7 +50,8 @@
"trickle": "0.0.2"
},
"scripts": {
"test": "standard && node test | faucet",
"test": "standard && nyc node test",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"test-browsers": "airtap --sauce-connect --loopback airtap.local --no-coverage test/index.js",
"test-browser-local": "airtap --local --no-coverage test/index.js",
"remark": "remark README.md CHANGELOG.md UPGRADING.md CONTRIBUTORS.md -o"
Expand Down

0 comments on commit a96aa21

Please sign in to comment.