react-library-boilerplatedeprecated

Create a React component library with no configuration

Usage no npm install needed!

<script type="module">
  import reactLibraryBoilerplate from 'https://cdn.skypack.dev/react-library-boilerplate';
</script>

README

react-library-boilerplate

license PRs welcome

Easily start building your React component library using this opinionated boilerplate.

Included tools:

  • Rollup and Babel for generating a bundle of your library in ES5
  • Storybook for testing the UI of your component interactively
  • ESLint and Husky for code linting

Demo

Usage

To create a new library, enter the following command in your terminal (and replace my-library with the name of your library):

npx react-library-boilerplate my-library

Navigate into the newly created project folder:

cd my-library

Start your development server:

npm start

Finally, open http://localhost:6006 to see your library in action.