From 79e50c634564906cb51bc3e1a9ef53ec03bf2550 Mon Sep 17 00:00:00 2001 From: Kevin Weber Date: Tue, 8 Mar 2022 01:09:01 +0100 Subject: [PATCH] Build Storybook during deploy --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6c6c08e6..0f2c5a6b 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "test:unit": "react-scripts test", "test:unit:update-snapshot": "react-scripts test -u", "eject": "react-scripts eject", - "predeploy": "yarn run build", + "predeploy": "yarn build && yarn build-storybook", "deploy": "gh-pages -d build", "prettier": "prettier \"**/*.{json,js}\" --check --loglevel log", "prettier:fix:file": "prettier --write",