React lib template ?
use this template for your next React lib, modify it and run
npm run dev to see it in action.
This library has some built-in commands, like:
This command will start a development server with hot reloading and React Fast Refresh.
This command will build the library for production, but before, it’s run the TypeScript type checking.
This command will run the ESLint linter on the code and check for errors.
This command will run the ESLint linter on the code and check for errors, and if there are any, it will fix them.
This command will run the prettier formatter on the code and check for errors.
Parcel is configured to export a CJS and ESModule. See more on Parcel’s documentation.
CIwith installs deps and runs
yarn run lint,
yarn run build.
sizewitch comments const comparation of your library on every pull request.