add deploy to npm

This commit is contained in:
DD 2017-10-12 17:10:17 -04:00
parent 0f2d485f98
commit 828279db6a

View file

@ -29,3 +29,9 @@ deploy:
branch: master
skip_cleanup: true
script: npm run --silent deploy -- -x -a -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
- provider: npm
skip_cleanup: true
email: $NPM_EMAIL
api_key: $NPM_TOKEN
on:
all_branches: true