Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Add test tools and engines.node
Browse files Browse the repository at this point in the history
- Add nyc & coveralls for code coverage (Level/community#34)
- Add engines.node to package.json (minimum is now 8)
- Disable Travis notifications (Level/community#40)
- Bump dependencies to prevent dedupe
- Add faucet to format test output
- Add dependency-check
  • Loading branch information
vweevers committed Oct 25, 2019
1 parent cfaa4c7 commit d50a9a5
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
node_modules
npm-debug.log
package-lock.json
.nyc_output/
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ node_js:
- 8
- 10
- 12
after_success: npm run coverage
notifications:
email: false
30 changes: 20 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,50 @@
"name": "multileveldown",
"version": "2.3.1",
"description": "multilevel implemented using leveldowns with reconnect support",
"author": "Mathias Buus (@mafintosh)",
"license": "MIT",
"main": "index.js",
"scripts": {
"test": "standard && (nyc -s tape test/*.js | faucet) && nyc report",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"protobuf": "protocol-buffers schema.proto -o messages.js",
"dependency-check": "dependency-check --no-dev .",
"prepublishOnly": "npm run dependency-check"
},
"dependencies": {
"abstract-leveldown": "^6.1.1",
"abstract-leveldown": "^6.2.2",
"duplexify": "^4.1.1",
"encoding-down": "^6.2.0",
"encoding-down": "^6.3.0",
"end-of-stream": "^1.1.0",
"length-prefixed-stream": "^2.0.0",
"levelup": "^4.1.0",
"levelup": "^4.3.2",
"numeric-id-map": "^1.1.0",
"protocol-buffers-encodings": "^1.1.0",
"reachdown": "^1.0.0"
},
"devDependencies": {
"@adorsys/encrypt-down": "^2.0.1",
"concat-stream": "^2.0.0",
"coveralls": "^3.0.7",
"dependency-check": "^4.1.0",
"faucet": "^0.0.1",
"level-compose": "^0.0.2",
"memdown": "^5.0.0",
"nyc": "^14.1.1",
"protocol-buffers": "^4.0.2",
"standard": "^14.1.0",
"subleveldown": "^4.1.1",
"tape": "^4.11.0"
},
"scripts": {
"test": "standard && tape test/*.js",
"protobuf": "protocol-buffers schema.proto -o messages.js"
},
"repository": {
"type": "git",
"url": "https://github.com/Level/multileveldown.git"
},
"author": "Mathias Buus (@mafintosh)",
"license": "MIT",
"bugs": {
"url": "https://github.com/Level/multileveldown/issues"
},
"homepage": "https://github.com/Level/multileveldown"
"homepage": "https://github.com/Level/multileveldown",
"engines": {
"node": ">=8"
}
}

0 comments on commit d50a9a5

Please sign in to comment.