From 1b6ee5284928319da3b1834fc7837fc7ed4220ad Mon Sep 17 00:00:00 2001 From: pantsucat Date: Sun, 20 Sep 2015 15:20:21 +1000 Subject: Add jshint grunt task and dependency --- Gruntfile.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js index 2cbd42f..64c2f7a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -97,7 +97,11 @@ module.exports = function (grunt) { dest: 'dist/' }] } + }, + jshint: { + all: ['Gruntfile.js', 'pomf.js'] } + }); grunt.loadNpmTasks('grunt-swig'); @@ -106,6 +110,7 @@ module.exports = function (grunt) { grunt.loadNpmTasks('grunt-contrib-htmlmin'); grunt.loadNpmTasks('grunt-contrib-cssmin'); grunt.loadNpmTasks('grunt-contrib-imagemin'); + grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-copy'); grunt.registerTask('default', ['mkdir', 'swig', 'htmlmin', 'cssmin', 'uglify', 'imagemin', 'copy']); -- cgit v1.2.3