From 558fae31f6c0ec79fbaca5233d636a26fde8fe41 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Wed, 14 Dec 2016 20:23:35 +1100 Subject: [PATCH] chore(generic): add pretest step to improve development --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c34ecc6cb7..52f16cd274 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "precommit": "npm run lint", "commit": "git-cz", "lint": "eslint src test", - "prepublish": "npm run build", + "prepublish": "gulp build", + "pretest": "gulp build", "test": "npm run lint && mocha test --compilers js:babel-register --timeout=300000", "release:patch": "changelog -p && node ci/fix-changelog.js && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags", "release:minor": "changelog -m && node ci/fix-changelog.js && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags",