EndangeredMassa / npub

publisher for node.js projects
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

Add opt-out for `npm publish` #42

Closed jkrems closed 8 years ago

jkrems commented 9 years ago

Fixes https://github.com/EndangeredMassa/npub/issues/41

Tested manually with a package:

  1. Add "gitOnly": true to the publishConfig section in package.json
  2. Commands no longer try to push to the registry but operate against the git repo only

This allows using travis' npm integration together with npub.

EndangeredMassa commented 9 years ago

Looks good to me! :shipit:

EndangeredMassa commented 9 years ago

Can we update the readme with the config option?

jkrems commented 9 years ago

Thanks, good point - added documentation.

jkrems commented 8 years ago

I think this is moot now that nlm is a thing.