Grunt-email-workflow Grunt tasks?

I use Lee Munroe's grunt-email-workflow to create a set of email templates, but I cannot find where the tasks are configured.

When I run "grunt" from the terminal, I see that several tasks are being performed: -clean -sass -coloured pages -juice, etc.

enter image description here

But Gruntfile.js does not contain anything from:

  module.exports = function(grunt) {

  require('load-grunt-config')(grunt, {

    // Pass data to tasks
    data: {

      // Re-usable filesystem path variables
      paths: {
        src:        'src',
        src_img:    'src/img',
        dist:       'dist',
        dist_img:   'dist/img',
        preview:    'preview'
      },

      // secrets.json is ignored in git because it contains sensitive data
      // See the README for configuration settings
      secrets: grunt.file.readJSON('secrets.json')

    }
  });
};

Did I miss something?

+4
source share
1 answer

load-grunt-config automatically loads the required grunt modules located in the package.json of the project. Here clean(grunt-contrib-clean) sass(grunt-sass), etc. Appear.

, grunt

+1

Source: https://habr.com/ru/post/1624301/


All Articles