A simple react boilerplate for creating a library of components made in typescript using swc.
It also uses:
storybookfor viewing a componentstesting-libraryfor testing componentssemantic-releasefor publishing a package for this library components
git clone https://github.com/maxgfr/typescript-react-lib-swc # For cloning the repository cd typescript-react-lib-swc # To navigate to the repository root yarn # Install dependencies
yarn build # For building the code with typechecking yarn build:swc # For building without typechecking
⚠️ No typechecking made in dev mode
yarn test # For running unit test yarn test:watch # For watching unit test