Update NPM deployment configs

Use an workaround as suggested in travis-ci/travis-ci#1675