With React Library Template Repository, you can focus on developing your React components and libraries without worrying about the configuration and setup.
Read full documentation.
Visit Demo Storybook.
- Supports Typescript and Javascript.
- Bundles
commonjs
andes
module formats. - pnpm for blazing fast package management.
- Vite for speedy bundling
- Husky for git hooks.
- Eslint and stylelint.
- Rollup for bundling.
- Jest and react-testing-library for testing.
- Storybook for documentation and demo.
- Install Node >= 18.x.
- Install pnpm. E.g.
corepack prepare pnpm@latest --activate
.
Manually clone repo or use degit
.
npx degit https://github.com/morewings/react-library-template my-library
cd ./my-library
pnpm i