/travis-npm-deploy

DJANTA platform customized travis NPM deploy script

Primary LanguageShellMIT LicenseMIT

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.