From bac9ab842514c586297f4d834f37ced71d39ca52 Mon Sep 17 00:00:00 2001 From: Alex Hinds Date: Thu, 12 Aug 2021 09:19:10 +1000 Subject: [PATCH] chore: tweak npm lifecycle scripts --- packages/storybook-addon-performance/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/storybook-addon-performance/package.json b/packages/storybook-addon-performance/package.json index fb8d23f..e67de84 100644 --- a/packages/storybook-addon-performance/package.json +++ b/packages/storybook-addon-performance/package.json @@ -88,10 +88,12 @@ "test": "yarn jest", "build:clean": "rimraf dist", "build": "yarn build:clean && yarn typescript:build", + "preversion": "yarn test", + "postversion": "git push && git push --tags", "prepublishOnly": "yarn build" }, "storybook": { "icon": "https://pbs.twimg.com/profile_images/1118574145724399616/oIyuo8uz_400x400.png", "displayName": "Performance" } -} +} \ No newline at end of file