grunt-lips
Version:
local image placeholder service
31 lines (20 loc) • 650 B
JavaScript
/*
* lips
* https://github.com/ifahrentholz/grunt-lips
*
* Copyright (c) 2015 Ingo Fahrentholz
* Licensed under the MIT license.
*/
;
var lips = require('node-img-placeholder');
module.exports = function (grunt) {
// Please see the Grunt documentation for more information regarding task
// creation: http://gruntjs.com/creating-tasks
grunt.registerTask("lips", "local image placeholder service", function () {
var done = this.async();
// Merge task-specific and/or target-specific options with these defaults.
var gruntOptions = this.options();
// Start the service
lips(gruntOptions);
});
};