Package Exports
- node-msdeploy
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-msdeploy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Node MsDeploy
Simplified Node.js interface for MsDeploy (Windows platform only)
Install NPM
npm install node-msdeploy --save
Usage
Setup deployment on Microsoft Azure AppService
// Import module
let NodeMsDeploy = require('node-msdeploy');
// Define deploy options (ex. Azure App Service)
let deployOptions = {
computerName : 'my-app.scm.azurewebsites.net',
site: 'my-app',
protocol: 'https',
port: 443,
userName: '$my-app',
password: 'my-supersecret-password123!',
authType: 'Basic',
packageFile: 'C:\\folder\\subfolder\\zip-with-application.zip'
};
// Initialize deployer
let deployer = new NodeMsDeploy(deployOptions);
// Launch deployment and handle promise
deployer.execute().then(
// Success
() => {
console.log('Deployment completed!');
},
// Error
(err) => {
console.log('Deployment failed with error ' + err);
}
);