1.0.0 • Published 4 years ago
my-cool-package-name v1.0.0
NPM Publish Boilerplate
All you need to know for publishing a React or any JavaScript component/hook to NPM registry.
Steps:
Clone this Repo.
Modify
/src
folder or overwriteindex.js
according to your package's need.Install all Dependencies by running:
npm install
- Build it by running:
npm run build
Login into to your NPM account using terminal/cmd.
Publish it
npm publish
Ask me if you have any doubt.
1.0.0
4 years ago