create-react-lib-ex

Starter library for new React libraries.

Usage no npm install needed!

<script type="module">
  import createReactLibEx from 'https://cdn.skypack.dev/create-react-lib-ex';
</script>

README

Starter library for new React libraries.

Usage

Using Yarn:

yarn create react-lib-ex LIB_NAME [--carbon] [--storybook]

Using npm:

npx create-react-lib-ex LIB_NAME [--carbon] [--storybook]

Where:

  • LIB_NAME: name of the library to create
  • --carbon: add to install the Carbon dependencies
  • --storybook: adds support for a Storybook