-
Notifications
You must be signed in to change notification settings - Fork 8
Home
Michael Hulse edited this page Aug 10, 2018
·
5 revisions
# If not already, login:
$ npm adduser
# Bump version number in `package.json` …
# … and publish on npm:
$ npm publish
During development it’s convenient to make the symlink on our path point to the entry point for the app:
$ npm link
# When done, remove link:
$ npm unlink
- Clone repo
-
cd
to repo - Run
npm update
- Run
npm audit fix --force
- Run
npm audit
to make sure you’re up-to-date - Run
npm outdated
to see what needs updating - If packages are old, use
npm i <package-name>@latest
- To test, run
npm link
- When done testing, run
npm unlink
- Install (from GitHub) production CLI code using
npm i [USER]/[REPO] -g
- Rinse. Wash. Repeat.
For users with access to this repo:
$ npm i git+ssh://[email protected]/mhulse/node-boilerplate-cli.git#master -g