'use strict'; module.exports = function(grunt) { // Project configuration. grunt.initConfig({ nodeunit: { files: ['test/**/*_test.js'], }, jshint: { options: { jshintrc: '.jshintrc' }, all: ['Gruntfile.js', 'lib/**/*.js', 'test/**/*.js'] } }); // Load plugins. grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-nodeunit'); // Default task. grunt.registerTask('default', ['jshint', 'nodeunit']); };