2014-10-20 16:56:45 -04:00
|
|
|
module.exports = function(grunt) {
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
// Project configuration
|
|
|
|
grunt.initConfig({
|
|
|
|
pkg: grunt.file.readJSON('package.json'),
|
2015-11-19 11:46:58 -05:00
|
|
|
/*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'
|
|
|
|
}
|
|
|
|
}
|
2015-11-19 11:46:58 -05:00
|
|
|
},*/
|
2014-10-20 16:56:45 -04:00
|
|
|
nodeunit: {
|
2014-11-03 16:50:40 -05:00
|
|
|
all: ['tests/**/*_test.js'],
|
2014-10-23 10:53:16 -04:00
|
|
|
options: {
|
|
|
|
reporter: 'verbose'
|
|
|
|
}
|
2014-10-20 16:56:45 -04:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2015-11-19 11:46:58 -05:00
|
|
|
//grunt.loadNpmTasks('grunt-jsdoc');
|
2014-10-20 16:56:45 -04:00
|
|
|
grunt.loadNpmTasks('grunt-contrib-nodeunit');
|
|
|
|
|
|
|
|
|
2015-11-19 11:46:58 -05:00
|
|
|
//grunt.registerTask('default', ['nodeunit','jsdoc']);
|
|
|
|
grunt.registerTask('default', 'nodeunit');
|
2014-10-20 16:56:45 -04:00
|
|
|
grunt.registerTask('tests', 'nodeunit');
|
2015-11-19 11:46:58 -05:00
|
|
|
//grunt.registerTask('docs', 'jsdoc');
|
2014-10-20 16:56:45 -04:00
|
|
|
};
|