botmaster-ui
v0.1.2
Published
Missing React, typescript NPM library creation template
Downloads
4
Maintainers
Readme
React Library Template
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.
Features
- 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.
- Optional Tailwind CSS support.
Quickstart
Prerequisites
- Install Node >= 20.x.
- Install pnpm. E.g.
corepack prepare pnpm@latest --activate
.
Installation
Manually clone repo or use degit
.
# With CSS Modules config
npx degit github:morewings/react-library-template my-library
# With Tailwind CSS config
npx degit github:morewings/react-library-template#tailwind my-library
cd ./my-library
pnpm i