Easily start building your React component library using this opinionated boilerplate.
- 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
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:
Start your development server:
Finally, open http://localhost:6006 to see your library in action.