From 35d4fc9e7b14541b25ffc2db39eb37ebcb2261d1 Mon Sep 17 00:00:00 2001 From: Nikita Zolotykh Date: Tue, 14 Mar 2023 15:44:14 +0300 Subject: [PATCH] feat: added prepublishOnly --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e11730b3..f4c1a4bd 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,8 @@ "build": "gulp", "build-storybook": "build-storybook", "dev": "start-storybook -p 6006", - "start": "start-storybook" + "start": "start-storybook", + "prepublishOnly": "npm run build" }, "dependencies": {}, "devDependencies": {