Skip to content

garygause/react-library-example

Repository files navigation

React Library Example

Just an example of a library using React published to npm.

See BOOTSTRAP.md for the full process taken to setup this project.

Stack

React, vite, yarn.

Publishing

yarn publish does not seem to work (OTP through security key is always invalid) so we use npm to publish.

  1. Increment version number if necessary.
// package.json

"version": "0.0.2",
  1. Make sure all code is updated on git.
git add .
git commit -m "<message>"
git push
  1. Login to npm
npm login
  1. Publish to npm
npm publish

About

Example react library published to npm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors