my-cool-package-name
v1.0.0
Published
A demo for publishing cool packages to npm registry
Downloads
4
Maintainers
Readme
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.