Usage
npm install
npm run storybook
Then open http://localhost:9001
on your browser. For more information visit React Storybook repo.
Startup errors
If storybook does not load any stories, it could be that the path name in the commandprompt is not exactly correct, it is uppercase sensitve.
Make sure your path in the command prompt is exactly correct (folder names with upper case or lower case for example).
release new version npm package
- update version in package.json
rm -Rf dist/ && node_modules/babel-cli/bin/babel.js lib --out-dir dist && rm dist/*.js
babel lib --out-dir dist
rm dist/*.js
npm publish