Upgraded imagemagick and manually altered pdf to image module to handle changes....
[yaffs-website] / web / modules / contrib / paragraphs / css / gulpfile.js
1 /**
2  * @file
3  * Provides Gulp configurations and tasks for compiling paragraphs CSS files
4  * from SASS files.
5  */
6
7 'use strict';
8
9 // Load gulp and needed lower level libs.
10 var gulp = require('gulp'),
11   yaml   = require('js-yaml'),
12   fs     = require('fs');
13
14 // Load gulp options.
15 var options = yaml.safeLoad(fs.readFileSync('./gulp-options.yml', 'utf8'));
16
17 // Lazy load gulp plugins.
18 // By default gulp-load-plugins will only load "gulp-*" and "gulp.*" tasks,
19 // so we need to define additional patterns for other modules we are using.
20 var plugins = require('gulp-load-plugins')(options.gulpLoadPlugins);
21
22 // Load gulp tasks.
23 require('./gulp-tasks.js')(gulp, plugins, options);