0.0.3 • Published 7 years ago

@nhz.io/travis-scoped-publish v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

@nhz.io/travis-scoped-publish

Configure travis

Set NPM_AUTH_TOKEN repository variable in travis to your npm auth token (from ~/.npmrc)

Modify the .travis.yml below to your needs

language: node_js

deploy:
  - provider: script
    script: echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc 2>/dev/null
    on:
      tags: true

  - provider: script
    script: npm publish --access public
    on:
      tags: true

License MIT

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago