used CLI tools to setup deployment

Used the Travis-CI CLI tools to setup the configuration file for NPM deployment.