Skip to content

A template for seamlessly creating a ReactJS library with TypeScript

License

Notifications You must be signed in to change notification settings

TiagoCavalcante/react-library-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-library-template

A template for seamlessly creating a ReactJS library with TypeScript

Using this template

Press the green button saying "Use this template".

Screenshot of the GitHub page

Quickstart

  1. npm install
  2. Customize the package.json file with the information about your project. Don't forget to change the license if you don't want MIT! Once a license is chosen it is hard to (legally) change it
  3. Replace the code from src/ with your code
  4. Add the files you want to delete after the build (if there are any) in rollup.config.js. Instead of deleting them, you can just add them to .gitignore
  5. Run npm publish and wait for people to use your library

About

A template for seamlessly creating a ReactJS library with TypeScript

Topics

Resources

License

Stars

Watchers

Forks