Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

build-storybook? #29

Closed
zksailor534 opened this issue Dec 2, 2016 · 1 comment
Closed

build-storybook? #29

zksailor534 opened this issue Dec 2, 2016 · 1 comment

Comments

@zksailor534
Copy link

In publish_storybook.sh, I find the following code:
# run our compile script, discussed above
build-storybook -o .out

I think it references a script or capability provided elsewhere (maybe @kadira/storybook-deployer?), but I can't find it anywhere in this project. I'm attempting to implement this script cross platform (Windows), but I'm not sure where to go here.

@usulpro
Copy link
Member

usulpro commented Dec 3, 2016

@zksailor534
build-storybook is a part of React Storybook cli and you can find it in node_modules\.bin\build-storybook.cmd if you on Windows.
So if you only want to build your storybook you can run it manually. (make sure that you have node_modules\.bin\ in your path).
You cant run the whole script on Windows because it shell sript, but there are some ways to solve this:

  1. If you use cmder just run it as usual. It'll be executed via bash automatically

  2. You can use publish_storybook.cmd - windows version of this script

  3. You can use shelljs version of this script wich supports Windows as well

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants