Create React Thing
Create rich boilerplate for React libraries with ease.
Get started by running:
This will ask you a few questions and then set up your React library boilerplate in a subfolder matching the npm package name you specify.
You can optionally specify the npm package name as a command line argument when running Create React Thing:
npx create-react-thing my-thing
Or for a scoped package:
npx create-react-thing @my-scope/my-thing
What can I use it for?
Create React Thing’s boilerplate is meant for React libraries you would typically publish to the npm registry, for example:
- a single React component
- a React component library
- a single React custom hook
- a React custom hooks library
Your environment will have many tools to help you build modern React libraries:
Storybook, with various add-ons installed and structural snapshot testing capabilities configured
Alex to catch insensitive, inconsiderate writing in your documentation
hassle-free interactive updates for dependencies via npm-check
If something doesn’t work, please file an issue.
If you have questions, need help, or would like to contribute, please reach out at email@example.com.
Create React Thing is licensed under MIT.