From a2da82e8f21f91a0c43fffeee4dc6547a074a9d8 Mon Sep 17 00:00:00 2001 From: Jacob Bolda Date: Fri, 21 Feb 2020 08:26:07 -0600 Subject: [PATCH] chore(workflows): split up prepare into postinstall and prepublishOnly (#428) This will let CI runs of the publish command reduce verbosity. We use the output from the command in our release notes. --- cli/tauri.js/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/tauri.js/package.json b/cli/tauri.js/package.json index 2eca1a60e..8363bb25b 100644 --- a/cli/tauri.js/package.json +++ b/cli/tauri.js/package.json @@ -11,9 +11,11 @@ }, "scripts": { "build": "webpack --progress", + "build-release": "yarn build --display none --progress false", "test": "jest --runInBand --no-cache", - "prepare": "yarn build", "pretest": "yarn build", + "postinstall": "yarn build", + "prepublishOnly": "yarn build-release", "test:mac-local": "jest --runInBand", "lint": "eslint --ext ts ./src/**/*.ts", "lint-fix": "eslint --fix --ext ts ./src/**/*.ts",