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.
This commit is contained in:
Jacob Bolda
2020-02-21 08:26:07 -06:00
committed by GitHub
parent 056d2205fa
commit a2da82e8f2

View File

@@ -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",