Skip to content

Commit

Permalink
fix(storybook): build process (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored Feb 1, 2024
1 parent a0058b7 commit f387e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint": "eslint src/iotMapManager/**/*.ts",
"test": "echo \"Error: no test specified\" && exit 1",
"storybook": "start-storybook",
"build-storybook": "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": {
Expand Down

0 comments on commit f387e72

Please sign in to comment.