Npm

From Wiki2
Revision as of 15:49, 18 September 2015 by Tim (talk | contribs) (Created page with "===Node package manager=== ====versioning=== 1.0.0 is typical with the major release number getting changed any time the api changes. Adding features would change the second...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Node package manager

=versioning

1.0.0 is typical with the major release number getting changed any time the api changes. Adding features would change the second digit and bug fixes would change the last digit.

process
modify package.json to new version, say 1.1.0
git add . -A
git commit -m 'about new version'
git push
git tag 1.1.0
git push --tags
npm publish