@garment/plugin-runner-storybook

0.18.0 • Public • Published

runner-storybook

Runs Storybook.

Installation

npm i @garment/plugin-runner-storybook

or

yarn add @garment/plugin-runner-storybook

start

Start Storybook in development mode

Example usage

{
    "runner": "storybook",
    "options": {
        "configDir": "{{projectDir}}/.storybook",
        "port": 3001,
        "host": "localhost"
    }
}

API

configDir: path

Default: {{projectDir}}/.storybook

The config folder to start Storybook from


port: number

Default: 9009

Port to serve Storybook


host: string

Default: localhost

Host to serve Storybook

build

Build storybook

API

configDir: path

Default: {{projectDir}}/.storybook

The config folder to build Storybook from

Readme

Keywords

none

Package Sidebar

Install

npm i @garment/plugin-runner-storybook

Weekly Downloads

3

Version

0.18.0

License

MIT

Unpacked Size

7.75 kB

Total Files

11

Last publish

Collaborators

  • farfetch-oss