@trigen/scripts-plugin-storybook

Storybook scripts.

Usage no npm install needed!

<script type="module">
  import trigenScriptsPluginStorybook from 'https://cdn.skypack.dev/@trigen/scripts-plugin-storybook';
</script>

README

@trigen/scripts-plugin-storybook

NPM version Node version Dependencies status Build status Dependabot badge

Storybook scripts.

Usage

  1. Install scripts package
yarn add -D @trigen/scripts-plugin-storybook
  1. Add installed scripts to .trigenscriptsrc
[
    "plugin-storybook",
    "./some/other"
]
  1. 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