diff --git a/.npmrc b/.npmrc.template similarity index 100% rename from .npmrc rename to .npmrc.template diff --git a/.travis.yml b/.travis.yml index 4dfe34244..193ca9be6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,6 @@ node_js: - "8" deploy: provider: script - script: npm publish + script: "cp .npmrc.template $HOME/.npmrc && npm publish" on: branch: master