diff options
author | Victor Häggqvist <[email protected]> | 2014-06-30 19:29:34 +0200 |
---|---|---|
committer | Victor Häggqvist <[email protected]> | 2014-06-30 19:29:34 +0200 |
commit | 420a156db6c043ba260908a838597a520b9ba804 (patch) | |
tree | 7de3d7c31f2a6fcdfb6a99b8da6cca30b60ac800 | |
parent | 7e9566d7be99f945d6ccdfa9f7828d1db8802174 (diff) |
grunt
-rw-r--r-- | Gruntfile.js | 12 |
1 files 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']); }; |