module.exports = function(grunt) {

	// Project configuration.
	grunt.initConfig({
		pkg: grunt.file.readJSON('package.json'),
		uglify: {
			minified: {
				files: {
					"dist/dialog.min.js": "dist/dialog.js"
				},
				options: {
					mangle: true,
					compress: true,
					sourceMap: true
				}
			}
		},
		less: {
			gridCore: {
				files: {
					"build/gridCore.css": "src/gridCore.less"
				}
			},
			components: {
				expand: true,
				cwd: "src/components",
				src: "*.less",
				dest: "build/components",
				ext: ".css"
			},
			main: {
				expand: true,
				cwd: "src/",
				src: ["*.less", "!gridCore.less", "!vars.less", "!mixins.less"],
				dest: "build/",
				ext: ".css"
			},
			dist: {
				files: {
					"dist/end2end.css": "end2end.less"
				}
			}
		},
		eslint: {
			end2end: {
				src: ["*.js", "!Gruntfile.js"]
			}
		},
		copy: {
			dist: {
				files: {
					"dist/end2end.js": "end2end.js"
				}
			}
		},
		ngtemplates: {
			end2end: {
				src: "templates/**.html",
				dest: "dist/end2end.js",
				options: {
					htmlmin: {
						collapseWhitespace: true,
						removeComments: true
					},
					append: true
				}
			}
		},
		watch: {
			grunt: {
				files: "Gruntfile.js"
			},
			gridCore: {
				files: "src/gridCore.less",
				tasks: "less:gridCore"
			},
			main: {
				files: "src/*.less",
				tasks: "less:main"
			},
			components: {
				files: "src/components/*.less",
				tasks: "less:components"
			},
			js: {
				files: ["*.js", "templates/*"],
				tasks: "dist-js"
			}
		},
		clean: {
			build: ["build"]
		}
	});

	// Load the plugin that provides the "uglify" task.
	grunt.loadNpmTasks('grunt-contrib-uglify');
	grunt.loadNpmTasks('grunt-contrib-less');
	grunt.loadNpmTasks('grunt-eslint');
	grunt.loadNpmTasks('grunt-contrib-copy');
	grunt.loadNpmTasks('grunt-angular-templates');
	grunt.loadNpmTasks('grunt-contrib-watch');
	grunt.loadNpmTasks('grunt-contrib-clean');

	// Default task(s).
	grunt.registerTask('dist', ["clean", "less", "dist-js"]);
	grunt.registerTask('dist-js', ["copy", "ngtemplates"]);

};

@@ -1328,24 +1328,25 @@
 %0A%09%09%09%09tasks: 
+%5B
 %22less:main%22%0A
@@ -1344,16 +1344,30 @@
 ss:main%22
+, %22less:dist%22%5D
 %0A%09%09%09%7D,%0A%09
@@ -1425,24 +1425,25 @@
 %0A%09%09%09%09tasks: 
+%5B
 %22less:compon
@@ -1447,16 +1447,30 @@
 ponents%22
+, %22less:dist%22%5D
 %0A%09%09%09%7D,%0A%09

Update gruntfile