From 81f9a65617396c7d3f681e96aaed3b7851dd4e7a Mon Sep 17 00:00:00 2001 From: ziajka Date: Mon, 26 Nov 2018 16:45:13 +0100 Subject: [PATCH] Simplify coverage command --- .travis.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 80362253..6d2671cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/package.json b/package.json index 03f56f86..2c6dcfca 100644 --- a/package.json +++ b/package.json @@ -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": {