+1 vote
in JavaScript by
Gruntfile Example

1 Answer

0 votes
by
Sample Gruntfile
Sample Gruntfile

Sample Gruntfile for reference :

module.exports = function(grunt) {
  grunt.initConfig({
    jshint: {
      files: ['Gruntfile.js', 'src/*.js', 'test/**/*.js'],
      }
    },
    watch: {
      files: ['<%= jshint.files %>'],
      tasks: ['jshint']
    }
  });
  grunt.loadNpmTasks('grunt-contrib-jshint');
  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.registerTask('default', ['jshint']);
};

Related questions

+1 vote
asked Feb 28, 2020 in JavaScript by miceperry
+1 vote
asked Feb 28, 2020 in JavaScript by miceperry
0 votes
asked Feb 7 in JavaScript by john ganales
0 votes
asked Jun 8, 2022 in JavaScript by sharadyadav1986
...