- Create an npm organization within your account (other option available, see npmjs.org).
- Create a directory that contains common code.
- Move to the newly created dir and run
npm init
. - Run
npm login
and follow the steps (if required). - Initialize git repo & commit changes.
- Run
npm version patch
before publishing a new version. - Run
npm run build
to build the code. - Run
npm publish --access public
to publish. Before doing so, make sure adjustments have been made in package.json. - Run
npm update <package name>
to update the version wherever it is being used.
@singhgauravvapext/custommodules
1.0.10 • Public • Published/@singhgauravvapext/custommodules/
Package Sidebar
Install
npm i @singhgauravvapext/custommodules
Weekly Downloads
1
Version
1.0.10
License
ISC
Unpacked Size
19 kB
Total Files
44