Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nyc and coveralls #597

Merged
merged 1 commit into from
Jul 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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