1.1.0 • Published 7 years ago

propeller-sharepoint v1.1.0

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

propeller-sharepoint

A SharePoint deployer plugin for Propeller. This deployer uses gulp-spsave to handle authentication and file transfers during deployment. This package is compatible with SharePoint 2013, SharePoint 2016, and Office 365/SharePoint Online environments.

Getting Started

Install Propeller and propeller-sharepoint using npm:

npm install gulp-propeller --save-dev
npm install propeller-sharepoint --save-dev

Create a propeller.json file in your project directory that contains your SharePoint connection information. Specify the connection type as sharepoint:

{
  "environments": {
    "o365": {
      "type": "sharepoint",
      "src": "build/**",
      "dest": "_catalogs/masterpage/test",
      "gitignore": false,
      "connection": {
        "site": "https://mytenant.sharepoint.com/",
        "user": "hello@contoso.com",
        "pass": "mypassword"
      }
    }
  }
}

Create a Gulp task to deploy your files:

const gulp = require('gulp');
const propeller = require('gulp-propeller');
const propellersp = require('propeller-sharepoint');

gulp.task('default', function(){

  // add sharepoint deployer to propeller
  propeller.extend(propellersp);

  // deploy to 'o365' environment
  propeller.deploy('o365');

});

See the Propeller documentation for more information.