Commit e52d16de authored by Pavel Reznikov's avatar Pavel Reznikov
Browse files

add jshint to grunt tasks

parent b8bd1819
......@@ -4,6 +4,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-doctoc');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.initConfig({
sass: {
......@@ -55,8 +56,12 @@ module.exports = function (grunt) {
readme: {
target: "./README.md"
}
},
jshint: {
all: ['src/*.js']
}
});
grunt.registerTask('default', ['sass', 'cssmin', 'copy', 'uglify', 'doctoc']);
grunt.registerTask('default', ['sass', 'cssmin', 'copy', 'uglify', 'doctoc', 'jshint']);
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment