README
@trigen/scripts-plugin-storybook
Storybook scripts.
Usage
- Install scripts package
yarn add -D @trigen/scripts-plugin-storybook
- Add installed scripts to
.trigenscriptsrc
[
"plugin-storybook",
"./some/other"
]
- Now you can run some script
yarn exec -- trigen-scripts start:storybook
Options
Option | Type | Default | Description |
---|---|---|---|
storybookConfigs | string |
- | Path to directory containing Storybook configs. |
Available scripts
# Start Storybook
yarn start:storybook
# Build standalone Storybook bundle
yarn build:storybook