my-sample-react-lib
v1.4.0
Published
A minimalist typescript swc starter for react
Downloads
13
Maintainers
Readme
typescript-react-lib-swc
A simple react boilerplate for creating a library of components made in typescript using swc
.
It also uses:
storybook
for viewing a componentstesting-library
for testing componentssemantic-release
for publishing a package for this library components
Clone repository and install dependencies
git clone https://github.com/Cauen/prisma-table-lib # For cloning the repository
cd typescript-react-lib-swc # To navigate to the repository root
yarn # Install dependencies
Building the code
yarn build # For building the code with typechecking
yarn build:swc # For building without typechecking
:warning: No typechecking made in dev mode
Testing the code
yarn test # For running unit test
yarn test:watch # For watching unit test