From c57d4e3e4ebb81716227e9ee049210d88048bc98 Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Thu, 22 Jun 2017 16:45:16 +0800 Subject: [PATCH] Use prepublish-only instead or prepublish script Fixes https://github.com/bfred-it/iphone-inline-video/issues/129 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ef8627e..eab6c58 100644 --- a/package.json +++ b/package.json @@ -35,8 +35,8 @@ "watch:server": "browser-sync start --startPath demo --no-ghost-mode --reload-delay 300 --no-open --server --files 'dist/iphone-inline-video.js,demo/**'", "watch:build": "onchange 'index.js' 'lib/*' -i -- npm-run-all --silent build:*", "watch": "npm-run-all --parallel --silent watch:*", - "prepublish": "npm run build", - "version": "npm run build; git add dist", + "prepublish-only": "npm run build", + "version": "npm run build && git add dist", "test": "npm run build" }, "devDependencies": {