diff --git a/gruntfile.js b/gruntfile.js new file mode 100644 index 0000000..67a06be --- /dev/null +++ b/gruntfile.js @@ -0,0 +1,15 @@ +module.exports = function(grunt) { + grunt.initConfig({ + nodeunit: { + all: ['test/**/*.test.js'] + }, + jshint: { + all: ['*.js'] + } + }); + + grunt.loadNpmTasks('grunt-contrib-jshint'); + grunt.loadNpmTasks('grunt-contrib-nodeunit'); + + grunt.registerTask('test', ['jshint', 'nodeunit']); +};