Add custom token generation from travis.
@@ -93,6 +93,7 @@ deploy:
on: master # TODO: Change to master or tags
- provider: script
script:
+ - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > $TRAVIS_BUILD_DIR/source/ports/node_port/.npmrc
- npm publish $TRAVIS_BUILD_DIR/source/ports/node_port --access public # TODO: --tag <tag>
skip_cleanup: true
on: master # TODO: Change to master or tags
