🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

mcap-deploy

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcap-deploy

node.js implementation to deploy an app against the studio API.

Source
npmnpm
Version
0.3.3
Version published
Weekly downloads
21
-16%
Maintainers
1
Weekly downloads
 
Created
Source

mcap-deploy

NPM version Build Status Dependency Status Coverage Status

node.js implementation to deploy an app against the studio API.

Install

$ npm install --save mcap-deploy

Usage

var options = {
    baseurl: '<URL>',
    username: '<USERNAME>',
    password: '<PASSWORD>',
    fields: {
        name: 'TestApp1',
        uuid: '5fc00ddc-292a-4084-8679-fa8a7fadf1db'
    },
    rootPath: path.resolve(__dirname, '../example/apps/MyTestApp'),
    progress: function(percent, chunkSize, totalSize){
        console.log(percent, chunkSize, totalSize);
    }
};
mcapDeploy.deploy(options/*, request*/).then(function(){
    console.log('succ uploaded');
    console.log(arguments);
}, function(){
    console.log('something bad happend');
    console.log(arguments);
});

Ignore files

To ignore files just create a .mcapignore file inside the root of the deploy folder, like how git ignores files based on a .gitignore file.

Example:

log.txt
server/node_modules

FAQs

Package last updated on 11 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts