emad
Version:
An rsync-based deployment tool
23 lines (19 loc) • 457 B
JavaScript
module.exports = function(grunt) {
grunt.initConfig({
jshint: {
files: ['**/*.js', '!node_modules/**/*.js'],
options: {
globals: {
console: true
}
}
},
watch: {
files: ['<%= jshint.files %>'],
tasks: ['jshint']
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['jshint']);
};