module.exports = function (grunt) {
	require('load-grunt-tasks')(grunt);

	grunt.registerTask('default', [ 'build' ]);

	grunt.initConfig({
		pkg: grunt.file.readJSON('package.json'),
		banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' + '<%= grunt.template.today("yyyy-mm-dd") %>\n' + '<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' + '* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' + ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */\n',

		src: 'src/',
		dest: 'build/',

		connect: {
			server: {
				options: {
					port: 9001,
					base: 'build',
					keepalive: true
				}
			}
		},

		copy: {
			all: {
				files: [
					{
						expand: true,
						cwd: '<%= src %>js/',
						src: '**',
						dest: '<%= dest %>js/'
					}
				]
			}
		},

		cssmin: {
			normalize: {
				files: {
					'<%= src %><%= cssExt %>/normalize.css': 'bower_components/normalize-css/normalize.css'
				}
			}
		},

		jade: {
			compile: {
				options: {
					data: {
						debug: false
					},
					pretty: true
				},
				files: [
					{
						expand: true,
						cwd: '<%= src %>',
						src: '*.jade',
						dest: '<%= dest %>',
						ext: '.html'
					}
				]
			}
		},

		imagemin: {
			all: {
				options: {
					pngquant: true
				},
				files: [
					{
						expand: true,
						cwd: '<%= src %>img/',
						src: ['**/*.{png,jpg,gif}'],
						dest: '<%= dest %>img/'
					}
				]
			}
		},

		postcss: {
			dist: {
				src: '<%= dest %>css/style.css'
			}
		},

		watch: {
			jade: {
				files: ['<%= src %>**/*.jade', '<%= src %>**/*.html' ],
				tasks: [ 'jade' ]
			},
			css: {
				files: '<%= src %><%= cssExt %>/**/*.<%= cssExt %>',
				tasks: ['<%= cssFormat %>']
			}
		}
	});
};

@@ -677,38 +677,32 @@
 : %7B%0A%09%09%09%09files: %5B
-%0A%09%09%09%09%09
 %7B%0A%09%09%09%09%09%09expand: 
@@ -781,16 +781,99 @@
  %25%3Ejs/'%0A
+%09%09%09%09%09%7D, %7B%0A%09%09%09%09%09%09src: '%3C%25= src %25%3Efavicon.ico',%0A%09%09%09%09%09%09dest: '%3C%25= dest %25%3Efavicon.ico'%0A
 %09%09%09%09%09%7D%0A%09

Copy favicon