Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.5 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.5 KB

travis-npm-deploy

license Gitter

Internal platform shared npm deploy script

Installation

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

Usage

Npm login

sh ~/travis-npm-deploy/deploy.sh login --user=MyNpmUserName --password=MyNpmUserPassord --email=MyNpmUserEmail

Npm logout

sh ~/travis-npm-deploy/deploy.sh logout #You pass any mandatory npm arugment here

Npm publish

sh ~/travis-npm-deploy/deploy.sh #You pass any mandatory npm arugment here

Git Confgiure Usage

sh ~/travis-npm-deploy/deploy.sh --git-config

Contributing

I welcome any contributions, enhancements, and bug-fixes. File an issue on GitHub and submit a pull request.