UNPKG

express-api-validator

Version:
22 lines (18 loc) 531 B
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), nodeunit: { all: ['test/*.js'] }, watch: { scripts: { files: ['**/*', '!node_modules/**/*'], tasks: ['nodeunit'] } } }); grunt.loadNpmTasks('grunt-contrib-nodeunit'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.registerTask('default', ['nodeunit']); grunt.registerTask('test', ['nodeunit']); };