From daba92cbe341a755a0dbf83420b208a4ce35ad3d Mon Sep 17 00:00:00 2001 From: philippspo Date: Wed, 9 Mar 2016 10:33:04 +0100 Subject: [PATCH] fix(release): run build before publishing to npm --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 27fdae5..9bc1af5 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,7 @@ "test:watch": "watch 'npm test' src/ tests/", "build": "babel src --out-dir dist", "lint": "eslint src tests", - "prepublish": "npm run build", - "semantic-release": "semantic-release pre && npm publish && semantic-release post" + "semantic-release": "semantic-release pre && npm run build && npm publish && semantic-release post" }, "repository": { "type": "git",