@blueeast/bluerain-cli-storybook-native
v2.0.0-beta.16
Published
An BlueRain CLI plugin to integrate Storybook for React Native
Downloads
17
Keywords
Readme
Usage
$ yarn add @blueeast/bluerain-cli
$ bluerain plugins:install @blueeast/bluerain-cli-storybook-native
Commands
bluerain storybook-native:init
bluerain storybook-native:start
bluerain storybook-native:start:expo
bluerain storybook-native:start:server
bluerain storybook-native:init
Initializes a directory with an example project.
USAGE
$ bluerain storybook-native:init
OPTIONS
--assetsDir=assetsDir [default: ./assets/storybook-native] Path to assets directory relative to the root directory
--buildDir=buildDir [default: ./build/storybook-native] Path to build directory relative to the root directory
--configDir=configDir [default: ./bluerain/storybook-native] Path to config directory relative to the root directory
EXAMPLE
$ bluerain storybook-native:start
See code: src/commands/storybook-native/init.ts
bluerain storybook-native:start
Starts or restarts a local server for your app and gives you a URL to it.
USAGE
$ bluerain storybook-native:start
OPTIONS
--assetsDir=assetsDir [default: ./assets/storybook-native] Path to assets directory relative to the root directory
--buildDir=buildDir [default: ./build/storybook-native] Path to build directory relative to the root directory
--configDir=configDir [default: ./bluerain/storybook-native] Path to config directory relative to the root directory
EXAMPLE
$ bluerain storybook-native:start
See code: src/commands/storybook-native/start.ts
bluerain storybook-native:start:expo
Starts or restarts a local server for your app and gives you a URL to it.
USAGE
$ bluerain storybook-native:start:expo
OPTIONS
--assetsDir=assetsDir [default: ./assets/storybook-native] Path to assets directory relative to the root directory
--buildDir=buildDir [default: ./build/storybook-native] Path to build directory relative to the root directory
--configDir=configDir [default: ./bluerain/storybook-native] Path to config directory relative to the root directory
EXAMPLE
$ bluerain expo:start
See code: src/commands/storybook-native/start/expo.ts
bluerain storybook-native:start:server
Starts or restarts a local server for your app and gives you a URL to it.
USAGE
$ bluerain storybook-native:start:server
OPTIONS
--assetsDir=assetsDir [default: ./assets/storybook-native] Path to assets directory relative to the root directory
--buildDir=buildDir [default: ./build/storybook-native] Path to build directory relative to the root directory
--configDir=configDir [default: ./bluerain/storybook-native] Path to config directory relative to the root directory
EXAMPLE
$ bluerain expo:start