MastodonLatoAdmin/node_modules/grunt-zip/Gruntfile.js
2018-11-09 14:48:56 +01:00

36 lines
729 B
JavaScript

module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
files: ['grunt.js', 'tasks/**/*.js', 'test/*.js'],
options: {
curly: true,
eqeqeq: true,
immed: true,
latedef: true,
newcap: true,
noarg: true,
sub: true,
undef: true,
boss: true,
eqnull: true,
node: true,
strict: false
},
},
watch: {
files: '<config:lint.files>',
tasks: 'default'
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
// Default task.
grunt.registerTask('lint', ['jshint']);
grunt.registerTask('default', ['lint']);
};