rittenhop-dev/versions/5.94.2/node_modules/express-query-boolean/Gruntfile.js
2024-09-23 19:40:12 -04:00

35 lines
503 B
JavaScript

'use strict';
module.exports = function (grunt) {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
// Lint js
jshint: {
options: {
jshintrc: '.jshintrc',
reporter: require('jshint-stylish')
},
files: {
src: ['lib/**/*.js']
}
},
// Run tests
nodeunit: {
tests: ['test/*_test.js']
},
});
grunt.registerTask('test', [
'jshint',
'nodeunit'
]);
grunt.registerTask('default', [
'test'
]);
};