PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/stockphotos.kerihosting.com/wp-content/plugins/edd-wish-lists/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/stockphotos.kerihosting.com/wp-content/plugins/edd-wish-lists/Gruntfile.js

module.exports = function(grunt) {

  grunt.registerTask('watch', [ 'watch' ]);

  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),

	// concat
	concat: {
		main: {
			options: {
				separator: ';'
			},
			src: ['includes/js/edd-wl.js'],
			dest: 'includes/js/<%= pkg.name %>.min.js'
		}
	},

    // uglify
    uglify: {
        options: {
          mangle: false
        },
        js: {
          files: {
            'includes/js/<%= pkg.name %>.min.js': ['includes/js/<%= pkg.name %>.min.js']
          }
        }
    },
	
    // LESS CSS
    less: {
      style: {
        options: {
          compress: true
        },
        files: {
          "templates/edd-wl.min.css": "includes/less/edd-wl.less"
        }
	},
	style2: {
	  options: {
		compress: false
	  },
	  files: {
		"templates/edd-wl.css": "includes/less/edd-wl.less"
	  }
	}
    },

    // watch our project for changes
    watch: {
      // JS
      js: {
        files: ['includes/js/edd-wl.js'],
        tasks: ['concat:main', 'uglify:js'],
      },
      // CSS
      css: {
        // compile CSS when any .less file is compiled in this theme and also the parent theme
        files: ['includes/less/edd-wl.less'],
        tasks: ['less:style', 'less:style2'],
      },

    }
  });

  // Saves having to declare each dependency
  require( "matchdep" ).filterDev( "grunt-*" ).forEach( grunt.loadNpmTasks );

  grunt.registerTask('default', ['concat', 'uglify', 'less' ]);
};