From c2ea1e420532cbe2f268d47f5c16fc97a9006768 Mon Sep 17 00:00:00 2001 From: Aleksey Avdeev Date: Thu, 21 Dec 2017 16:51:39 +0300 Subject: [PATCH] chore: update scripts --- .travis.yml | 1 - package.json | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6c311ba0..ef702277 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ node_js: script: - npm run test - - npm run build after_success: 'npm run coveralls' diff --git a/package.json b/package.json index ec64ad64..e1d5b85e 100644 --- a/package.json +++ b/package.json @@ -21,10 +21,9 @@ "build": "rollup -c", "dev": "rollup -c -w", "lint": "eslint --ignore-path .gitignore .", - "pretest": "npm run lint && npm run build && npm run size", - "test": "jest --coverage", + "test": "npm run lint && npm run build && npm run size && jest --coverage", "test:watch": "jest --watchAll", - "prepublish": "npm test", + "prepublish": "npm run test", "coveralls": "cat ./coverage/lcov.info | coveralls" }, "repository": "git@github.com:avdeev/vanilla-sharing.git",