publish-experimental
v1.0.33
Published
For testing purpose
Downloads
12
Readme
react-ts-lib-starter
React boilerplate for library creation with typescript, vite, tests, linter and husky
Stack
- React 18.2
- Typescript 4.9
- Vite 4.0
- Jest 29.3
- Husky 8.0
Usage
# SSH
git clone [email protected]:avesheva/react-ts-lib-starter.git
# HTTPS
git clone https://github.com/avesheva/react-ts-lib-starter.git
then
cd react-ts-lib-starter
npm install
or
cd react-ts-lib-starter
yarn install
Run
npm run dev
Replace
Replace "publish-experimental" in package.json, vite.config.ts with your lib actually name. Set your actually values to package.json fields. Rename tests file and lib component file, imports.
Replace git remote url with your repo: git remote set-url origin <your.repo-url>
Edit
Edit your REDME file