Skip to content

Commit

Permalink
Add nyc and coveralls (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphtheninja committed Jul 18, 2018
1 parent 144e40b commit 874fe91
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -16,3 +16,4 @@ npm-debug.log
prebuilds/
yarn.lock
package-lock.json
.nyc_output/
1 change: 1 addition & 0 deletions .npmignore
Expand Up @@ -17,3 +17,4 @@ NEWS
AUTHORS
Dockerfile
.dockerignore
.nyc_output/
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -14,3 +14,5 @@ node_js:
- 6
- 8
- 10

after_success: npm run coverage
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -9,6 +9,7 @@
[![AppVeyor](https://img.shields.io/appveyor/ci/Level/rocksdb.svg?label=appveyor)](https://ci.appveyor.com/project/Level/rocksdb)
[![dependencies](https://img.shields.io/david/Level/rocksdb.svg)](https://david-dm.org/level/rocksdb)
[![npm downloads](https://img.shields.io/npm/dm/rocksdb.svg)](https://www.npmjs.com/package/rocksdb)
[![Coverage Status](https://coveralls.io/repos/github/Level/rocksdb/badge.svg)](https://coveralls.io/github/Level/rocksdb)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

**If you are upgrading:** please see [UPGRADING.md](UPGRADING.md).
Expand Down
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -21,27 +21,29 @@
},
"devDependencies": {
"async": "^2.0.1",
"coveralls": "^3.0.2",
"delayed": "~1.0.1",
"du": "~0.1.0",
"iota-array": "~1.0.0",
"lexicographic-integer": "~1.1.0",
"mkfiletree": "~1.0.1",
"monotonic-timestamp": "~0.0.8",
"nyc": "^12.0.2",
"optimist": "~0.6.1",
"prebuild": "^7.0.0",
"prebuild-ci": "^2.0.0",
"readfiletree": "~0.0.1",
"rimraf": "^2.6.1",
"slump": "~2.0.0",
"standard": "^11.0.1",
"tap-spec": "^4.1.1",
"tape": "^4.5.1",
"uuid": "^3.2.1",
"verify-travis-appveyor": "^3.0.0"
},
"scripts": {
"install": "prebuild-install || node-gyp rebuild",
"test": "standard && verify-travis-appveyor && tape test/*-test.js | tap-spec && prebuild-ci",
"test": "standard && verify-travis-appveyor && nyc tape test/*-test.js && prebuild-ci",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"rebuild": "prebuild --compile",
"prebuild": "prebuild -t 8.1.2 -t 6.11.0 -t 4.8.3 -t 7.10.0 --strip --verbose"
},
Expand Down

0 comments on commit 874fe91

Please sign in to comment.