node-query/Gruntfile.js

33 lines
802 B
JavaScript
Raw Normal View History

2014-10-20 16:56:45 -04:00
module.exports = function(grunt) {
'use strict';
// Project configuration
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
/*jsdoc: {
2014-10-20 16:56:45 -04:00
dist: {
2014-10-23 10:53:16 -04:00
src: ['lib/*.js', 'README.md'],
2014-10-20 16:56:45 -04:00
options: {
2014-10-22 10:13:08 -04:00
template: 'node_modules/grunt-jsdoc/node_modules/ink-docstrap/template',
configure: 'node_modules/grunt-jsdoc/node_modules/ink-docstrap/template/jsdoc.conf.json',
2014-10-20 16:56:45 -04:00
destination: 'docs'
}
}
},*/
2014-10-20 16:56:45 -04:00
nodeunit: {
all: ['tests/**/*_test.js'],
2014-10-23 10:53:16 -04:00
options: {
reporter: 'verbose'
}
2014-10-20 16:56:45 -04:00
}
});
//grunt.loadNpmTasks('grunt-jsdoc');
2014-10-20 16:56:45 -04:00
grunt.loadNpmTasks('grunt-contrib-nodeunit');
//grunt.registerTask('default', ['nodeunit','jsdoc']);
grunt.registerTask('default', 'nodeunit');
2014-10-20 16:56:45 -04:00
grunt.registerTask('tests', 'nodeunit');
//grunt.registerTask('docs', 'jsdoc');
2014-10-20 16:56:45 -04:00
};