// wrapper function module.exports = function(grunt){ // load all our Grunt plugins require('load-grunt-tasks')(grunt); grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), // task configuration goes here jshint: { options: { "node": true, "esnext": true, "curly": false, "smarttabs": true, "indent": 2, "quotmark": "single" }, all: ['Gruntfile.js', 'scripts/{,*/}*.js'] } }); // define the default task that executes when we run 'grunt' from inside the project grunt.registerTask('default', []); };