/react-ts-package-boilerplate

Boilerplate to create a react typescript project, including configurations to publish it as a package ready to be published to npm.

Primary LanguageHTMLMIT LicenseMIT

Setup to create a package ready to be published

  1. Add New Project Code
  2. Install Package Dependencies
  3. Build The New Project Component

Add Project Code

src
 └── new-components

Install Package Dependencies

Execute the following command:

yarn or npm i

Build The New Project Code

Run the npm script build:project

yarn build:project or npm run build:project

The command above should create a folder dist with your project, ready to be published and used as a package :)

Happy Coding!