mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
set up coveralls
This commit is contained in:
parent
472e8e94b0
commit
ff7deb4712
2 changed files with 5 additions and 2 deletions
|
@ -4,4 +4,5 @@ node_js:
|
|||
- '6'
|
||||
- '7'
|
||||
sudo: false
|
||||
script: npm install . && npm run test-travis
|
||||
script: npm install . && npm run test-travis
|
||||
after_success: npm run coverage
|
|
@ -44,6 +44,7 @@
|
|||
"devDependencies": {
|
||||
"browserify": "^13.0.0",
|
||||
"browserify-handlebars": "^1.0.0",
|
||||
"coveralls": "^2.13.0",
|
||||
"eslint": "^3.19.0",
|
||||
"eslint-config-google": "^0.7.1",
|
||||
"grunt": "^1.0.1",
|
||||
|
@ -69,7 +70,8 @@
|
|||
],
|
||||
"scripts": {
|
||||
"test": "npm run lint && mocha ./test/functional ./test/unit",
|
||||
"test:coverage": "nyc --reporter=html --reporter=text mocha -R spec ./test/functional ./test/unit",
|
||||
"test:coverage": "nyc mocha -R spec ./test/functional ./test/unit",
|
||||
"coveralls": "nyc report --reporter=text-lcov | coveralls",
|
||||
"test-travis": "npm run lint && npm run test:coverage",
|
||||
"test-only": "mocha ./test/functional ./test/unit",
|
||||
"lint": "eslint .",
|
||||
|
|
Loading…
Add table
Reference in a new issue