From d1e1d835fee41f95612254ef90117b8eeb8f1a6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Thu, 1 Feb 2024 08:22:21 +0100 Subject: [PATCH] fix(storybook): build process (#137) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a30b777b..47b2834f 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "lint": "eslint src/iotMapManager/**/*.ts", "test": "echo \"Error: no test specified\" && exit 1", "storybook": "start-storybook", - "build-storybook": "cd src/iotMapManager && npm i && npm run build && cd -- && build-storybook -o ./docs && mkdir -p docs/assets/img && cp src/iotMapManager/img/* docs/assets/img/", + "build-storybook": "cd src/iotMapManager && npm i && npm run build && cd ../.. && build-storybook -o ./docs && mkdir -p docs/assets/img && cp src/iotMapManager/img/* docs/assets/img/", "deploy-storybook": "git add docs && git commit -m 'chore(storybook): deploy' --allow-empty && git subtree split --branch gh-pages --prefix docs && git push origin gh-pages -f && echo 'Storybook successfully deployed'" }, "repository": {