easy-grunt
Version:
Convenience wrapper around grunt.registerTask.
18 lines (14 loc) • 380 B
JavaScript
module.exports = function(grunt) {
// Load tasks
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
// Config
grunt.initConfig({
// JSHINT
'jshint': {
all: [ 'Gruntfile.js', 'src/*.js', 'test/*.js' ],
options: { jshintrc: true }
}
});
// By default, lint and run all tests.
grunt.registerTask('default', ['jshint']);
};