Day 26: Gulp

Wednesday, July 6, 2016

Topics

Gulp

Basic Setup

First, install Gulp globally if you don’t already have it on your machine

npm install -g gulp

Use npm install to add Gulp and other plugins that you need to the dev dependencies of your project in package.json

npm install --save-dev gulp gulp-concat gulp-plumber gulp-babel

Add gulpfile.js at the root level of your project and add references to the node modules you installed

var gulp = require('gulp');
var concat = require('concat');
var plumber = require('plumber');
var babel = require('babel');

And now you’re ready to start writing Gulp tasks!

Gulp plugins used in Meganote (so far…)

Projects

Meganote: Morning | Afternoon

Meganote-server: Source