module.exports = function(grunt) {

	// Project configuration.
	grunt.initConfig({
		pkg: grunt.file.readJSON('package.json'),
		less: {
			options: {
				ieCompat: true,
				strictImports: false,
				syncImport: false,
				report: 'min'
			},
			css: {
				options: {
					compress: false,
					yuicompress: false
				},
				files: {
					'css/calendar.css': 'less/calendar.less',
				}
			},
			css_min: {
				options: {
					compress: true,
					yuicompress: true
				},
				files: {
					'css/calendar.min.css': 'css/calendar.css'
				}
			}
		},
		uglify: {
			options: {
				banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\nhttps://github.com/Serhioromano/bootstrap-calendar.git\n'
			},
			build: {
				src: 'js/calendar.js',
				dest: 'js/calendar.min.js'
			}
		}
	});

	// Load the plugin that provides the tasks.
	grunt.loadNpmTasks('grunt-contrib-less');
	grunt.loadNpmTasks('grunt-contrib-uglify');

	// Default task(s).
	grunt.registerTask('default', ['less:css', 'less:css_min', 'uglify']);

};
module.exports = function(grunt) {

	// Project configuration.
	grunt.initConfig({
		pkg: grunt.file.readJSON('package.json'),
		less: {
			options: {
				ieCompat: true,
				strictImports: false,
				syncImport: false,
				report: 'min'
			},
			css: {
				options: {
					compress: false,
					yuicompress: false
				},
				files: {
					'css/calendar.css': 'less/calendar.less',
				}
			},
			css_min: {
				options: {
					compress: true,
					yuicompress: true
				},
				files: {
					'css/calendar.min.css': 'css/calendar.css'
				}
			}
		},
		uglify: {
			options: {
				banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
					'<%= grunt.template.today("yyyy-mm-dd") %> \n' +
					'https://github.com/Serhioromano/bootstrap-calendar */\n'
			},
			build: {
				src: 'js/calendar.js',
				dest: 'js/calendar.min.js'
			}
		}
	});

	// Load the plugin that provides the tasks.
	grunt.loadNpmTasks('grunt-contrib-less');
	grunt.loadNpmTasks('grunt-contrib-uglify');

	// Default task(s).
	grunt.registerTask('default', ['less:css', 'less:css_min', 'uglify']);

};
Add version to head of minified version
Add version to head of minified version
