typescript-react-lib-swc
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

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 components
  • testing-library for testing components
  • semantic-release for publishing a package for this library components

Clone repository and install dependencies

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

Building the code

yarn build # For building the code with typechecking
yarn build:swc # For building without typechecking

⚠️ No typechecking made in dev mode

Testing the code

yarn test # For running unit test
yarn test:watch # For watching unit test

Package Sidebar

Install

npm i typescript-react-lib-swc

Weekly Downloads

6

Version

1.1.2

License

MIT

Unpacked Size

7.26 kB

Total Files

9

Last publish

Collaborators

  • maxgfr