storydocker-storybook

0.0.27 • Public • Published

The StoryDocker default Storybook setup

This package contains the default Storybook setup for StoryDocker, which can also be used as a standalone Storybook setup for your project.

Storybook Dependencies

The Storybook dependencies are added as dependencies instead of the typical devDependencies. If you install this package, NPM will also install the Storybook dependencies for your project.

This is a multi-framework setup, but any JS framework-specific dependencies are installed as devDependencies - so those will not conflict with your project deps.

StoryDocker CLI

Currently a WIP, the StoryDocker CLI is used for things like auto-generating Storybook config files and boilerplate stories into ./src. To see the current commands, run npx storyD --help.

Shared tests

This package includes tests for the Storybook boilerplate stories. These Storybook interaction tests can be imported by your project to test the auto-installed-by-storybook-cli boilerplate stories.

See to article series Sharing tests across UI components on dev.to for details.

Package Sidebar

Install

npm i storydocker-storybook

Weekly Downloads

66

Version

0.0.27

License

MIT

Unpacked Size

654 kB

Total Files

47

Last publish

Collaborators

  • scottnath