Simplify coverage command

This commit is contained in:
ziajka 2018-11-26 16:45:13 +01:00
parent ae9572032d
commit 81f9a65617
2 changed files with 3 additions and 2 deletions

View File

@ -46,7 +46,7 @@ before_script:
- greenkeeper-lockfile-update
- npm install -g codecov
script: yarn ng test --watch=false --code-coverage
script: yarn coverage
after_success:
- codecov

View File

@ -22,7 +22,8 @@
"distlinux": "yarn buildforelectron && electron-builder --linux --x64",
"distwin": "yarn buildforelectron && electron-builder --win --x64",
"distmac": "yarn buildforelectron && electron-builder --mac --x64",
"release": "build"
"release": "build",
"coverage": "ng test --watch=false --code-coverage"
},
"private": true,
"dependencies": {