2018-09-13 19:00:51 +00:00
|
|
|
module.exports = function(grunt) {
|
|
|
|
grunt.initConfig({
|
|
|
|
pkg: grunt.file.readJSON('package.json'),
|
|
|
|
jsdoc : {
|
|
|
|
dist : {
|
|
|
|
src: ['src/*.js', 'test/*.js', 'README.md'],
|
|
|
|
options: {
|
2018-09-14 23:54:14 +00:00
|
|
|
destination : 'docs',
|
|
|
|
template : "node_modules/docdash"
|
2018-09-13 19:00:51 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
grunt.loadNpmTasks('grunt-jsdoc');
|
|
|
|
|
|
|
|
grunt.registerTask('default', []);
|
|
|
|
|
2018-09-14 23:54:14 +00:00
|
|
|
grunt.registerTask('docs', ['jsdoc']);
|
2018-09-13 19:00:51 +00:00
|
|
|
};
|