From ee1a59b71f1e0929af287a36622eac1e079df533 Mon Sep 17 00:00:00 2001 From: Dan Searle Date: Tue, 13 Nov 2018 13:42:14 +0000 Subject: [PATCH] Run bower install on prepare, rather than postinstall. --- components/x-article-save-button/package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/x-article-save-button/package.json b/components/x-article-save-button/package.json index efe8f38ff..e8104660d 100644 --- a/components/x-article-save-button/package.json +++ b/components/x-article-save-button/package.json @@ -7,10 +7,9 @@ "browser": "dist/ArticleSaveButton.es5.js", "style": "dist/ArticleSaveButton.css", "scripts": { - "prepare": "npm run build", + "prepare": "bower install && npm run build", "build": "node rollup.js", - "start": "node rollup.js --watch", - "postinstall": "bower install" + "start": "node rollup.js --watch" }, "keywords": [], "author": "",