Add nyc coverage, report data to coveralls.io
This commit is contained in:
parent
666f9c5d5b
commit
d49806a78b
|
@ -12,5 +12,6 @@ docs/man
|
|||
npm-debug.log
|
||||
.project
|
||||
test/memory.json
|
||||
.nyc_output
|
||||
|
||||
|
||||
|
|
|
@ -3,3 +3,5 @@ language: node_js
|
|||
node_js:
|
||||
- "4"
|
||||
- "6"
|
||||
|
||||
after_success: npm run coverage
|
||||
|
|
|
@ -26,16 +26,19 @@
|
|||
"depd": "./lib/browser.depd.js"
|
||||
},
|
||||
"scripts": {
|
||||
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
||||
"lint": "eslint .",
|
||||
"test": "mocha",
|
||||
"test": "nyc mocha",
|
||||
"posttest": "npm run lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"async-iterators": "^0.2.2",
|
||||
"coveralls": "^2.13.1",
|
||||
"eslint": "^3.12.2",
|
||||
"eslint-config-loopback": "^8.0.0",
|
||||
"loopback-connector-throwing": "file:./test/fixtures/loopback-connector-throwing",
|
||||
"mocha": "^3.2.0",
|
||||
"nyc": "^11.1.0",
|
||||
"should": "^8.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in New Issue