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",