@blueeast/bluerain-cli-storybook-native

An BlueRain CLI plugin to integrate Storybook for React Native

Usage no npm install needed!

<script type="module">
  import blueeastBluerainCliStorybookNative from 'https://cdn.skypack.dev/@blueeast/bluerain-cli-storybook-native';
</script>

README

BlueRain CLI - Storybook Native

📱 Brings BlueRain projects to Storybooks on React Native.

oclif Version

CircleCI

Appveyor CI Codecov Downloads/week License

Usage

$ yarn add @blueeast/bluerain-cli
$ bluerain plugins:install @blueeast/bluerain-cli-storybook-native

Commands

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

See code: src/commands/storybook-native/start/server.ts