test: add coveralls support

This commit is contained in:
nanov 2019-11-20 19:37:32 +02:00
parent 6d73ef77d4
commit e56e7f224b

View File

@ -10,7 +10,7 @@
"scripts": { "scripts": {
"lint": "eslint .", "lint": "eslint .",
"test": "nyc mocha test/**/*.js", "test": "nyc mocha test/**/*.js",
"coverage": "nyc report --reporter=lcov", "coverage": "nyc report --reporter=text-lcov | coveralls",
"version": "auto-changelog -p -t changelog-template.hbs && git add CHANGELOG.md" "version": "auto-changelog -p -t changelog-template.hbs && git add CHANGELOG.md"
}, },
"repository": { "repository": {