From 420a156db6c043ba260908a838597a520b9ba804 Mon Sep 17 00:00:00 2001 From: Victor Häggqvist Date: Mon, 30 Jun 2014 19:29:34 +0200 Subject: grunt --- Gruntfile.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 8bab037..7ae63af 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -6,9 +6,9 @@ module.exports = function (grunt) { pkg: grunt.file.readJSON('package.json'), banner: '/*! <%= 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 %>;' + - ' Licensed <%= props.license %> */\n', + '<%= pkg.homepage ? " * " + pkg.homepage + "\\n" : "" %>' + + ' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author %>;' + + ' Licensed <%= pkg.license %> */\n', // Task configuration concat: { options: { @@ -32,7 +32,7 @@ module.exports = function (grunt) { jshint: { options: { node: true, - curly: true, + curly: false, eqeqeq: true, immed: true, latedef: true, @@ -45,7 +45,7 @@ module.exports = function (grunt) { boss: true }, gruntfile: { - src: 'gruntfile.js' + src: 'Gruntfile.js' }, main: { src: '<%= pkg.name %>.js' @@ -70,6 +70,6 @@ module.exports = function (grunt) { grunt.loadNpmTasks('grunt-contrib-watch'); // Default task - grunt.registerTask('default', ['jshint', 'concat', 'uglify']); + grunt.registerTask('default', ['jshint:main', 'concat', 'uglify']); }; -- cgit v1.2.3