From 73e52e625b69bee3123f32df5fcdf07a8663e086 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Thu, 11 Jun 2015 09:16:50 +0200 Subject: [PATCH] Build on install to fix tests on Travis CI. --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index d642ced21..971506d31 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,6 @@ "gulp-plumber": "^1.0.0", "gulp-sourcemaps": "^1.5.1", "gulp-watch": "^4.2.2", - "in-publish": "^1.1.1", "mocha": "^2.2.1", "node-inspector": "^0.10.1", "sinon": "^1.14.1", @@ -105,7 +104,7 @@ "build": "gulp build --production", "dev": "gulp build", "lint": "standard", - "prepublish": "in-publish && npm run build || in-install", + "prepublish": "npm run build", "start": "node bin/xo-server", "test": "mocha --opts .mocha.opts 'dist/**/*.spec.js'" },