1.0.0 • Published 4 years ago

my-cool-package-name v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

NPM Publish Boilerplate

All you need to know for publishing a React or any JavaScript component/hook to NPM registry.

Steps:

  1. Clone this Repo.

  2. Modify /src folder or overwrite index.js according to your package's need.

  3. Install all Dependencies by running:

npm install
  1. Build it by running:
npm run build
  1. Login into to your NPM account using terminal/cmd.

  2. Publish it

npm publish

Ask me if you have any doubt.


Rohit Saini