summaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorpantsucat <contact@pantsu.cat>2015-09-20 07:20:21 +0200
committerWubTheCaptain <wub@partyvan.eu>2015-09-20 09:07:53 +0200
commit1b6ee5284928319da3b1834fc7837fc7ed4220ad (patch)
tree5a04496101bb1586e11beec6af8eafb2bbbd9dc1 /Gruntfile.js
parent287d0536213783c778a69fc9a28ba8b819384156 (diff)
Add jshint grunt task and dependency
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js5
1 files changed, 5 insertions, 0 deletions
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']);