Skip to content

wise-introvert/create-react-component-library

Repository files navigation

create-react-component-libray

NodeJS CLI to generate React library running TypeScript out of the box. Inspired by this package

Technologies used

Instructions

# using npx
$ npx create-rcl

#--------OR--------#

# install the package globally
$ npm install -g create-rcl # use "sudo" in linux/mac
$ crete-rcl

Commands

  • yarn build

    Compile the code using RollupJS

  • yarn test

    Test the code using react-testing-library and Jest

  • yarn storybook

    Preview your components using StorybookJS

  • yarn lint

    Lint using ESLint

  • yarn clean

    Cleans `dist` directory and replaces it with an empty folder (used by build script)

For more information, refer to this boilerplate repository

Author

👤 Wise Introvert

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

About

CLI to generate ReactJS component library using RollupJS, TypeScript and Sass

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published