index.js
function glupost(configuration) {

   const tasks = configuration.tasks || {}
   const template = configuration.template || {}

   // Expand template object with defaults.
   expand(template, { transforms: [], dest: "." })


   // Create tasks.
   const names = Object.keys(tasks)
   for (const name of names) {
      const task = retrieve(tasks, name)

      if (typeof task === "object")
         expand(task, template)

      gulp.task(name, compose(task))
   }

   watch(tasks)

}
function glupost(configuration) {

   const tasks = configuration.tasks || {}
   const template = configuration.template || {}

   // Expand template object with defaults.
   expand(template, { transforms: [], dest: "." })


   // Create tasks.
   const names = Object.keys(tasks)
   for (const name of names) {
      const task = retrieve(tasks, name)

      if (typeof task === "object")
         expand(task, template)

      gulp.task(name, compose(task))
   }

   watch(tasks)

}
function glupost ( configuration ) { const tasks = configuration . tasks || { } const template = configuration . template || { } // Expand template object with defaults. expand ( template , { transforms : [ ] , dest : "." } ) // Create tasks. const names = Object . keys ( tasks ) for ( const name of names ) { const task = retrieve ( tasks , name ) if ( typeof task === "object" ) expand ( task , template ) gulp . task ( name , compose ( task ) ) } watch ( tasks ) }
Create gulp tasks.
Create gulp tasks .