Introduction
Gulp Process for Kiwiet sharepoint special projects
Getting Started
Adding gulp process to your project.
Open a command prompt
Browser to the root of your project folder.
Adding to a project:
npm install kiewit-kpc-gulpfile --save-dev
Open the package.json file in an editor
add the following to the scripts section
"scripts": {
"gulp-update": "npm update && copy .\node_modules\kiewit-kpc-gulpfile\gulpfile-knockout.js .\gulpfile.js",
"postinstall": "npm run gulp-update"
}
Updating the kiewit-kpc-gulpfile module in the NPM repo
Clone this git repo
Open a command prompt
Browse to the root of this cloned repo
Enter this command to update the version number
npm version [major|minor|patch]
npm publish
Updating projects that use kiewit-kpc-gulpfile module
To update a project after
Open a command prompt
Browse to the project
Enter
npm install
or
npm run gulp-update