Internal platform shared npm deploy script
You can clone the repository travis-npm-deploy
at git.
git clone https://github.com/djanta/travis-npm-deploy.git ~/travis-npm-deploy
Once the repository has been cloned and to be able to invoke our provided npm login tool, the expect
command must be installed.
To do so, you'll have to run the following command.
sh ~/travis-npm-deploy/deploy.sh --install
sh ~/travis-npm-deploy/deploy.sh login --user=MyNpmUserName --password=MyNpmUserPassord --email=MyNpmUserEmail
sh ~/travis-npm-deploy/deploy.sh logout #You pass any mandatory npm arugment here
sh ~/travis-npm-deploy/deploy.sh #You pass any mandatory npm arugment here
sh ~/travis-npm-deploy/deploy.sh --git-config
I welcome any contributions, enhancements, and bug-fixes. File an issue on GitHub and submit a pull request.