-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGruntfile.js
32 lines (32 loc) · 1.13 KB
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-jsdoc');
grunt.loadNpmTasks('grunt-mocha-test');
grunt.initConfig({
mochaTest: {
test: {
options: {
reporter: 'spec'
},
/* N.B. These aren't really unit tests because they interface with the remote API.
* TODO: Rename as appropriate and create mock versions.
*/
src: ['test/unit/*.js'],
},
},
jsdoc : {
dist : {
src: ['*.js', 'src/*.js', 'README.md'],
options: {
destination: 'doc',
template : "node_modules/grunt-jsdoc/node_modules/ink-docstrap/template",
configure : "conf/jsdoc.conf.json",
templates: {
"navType" : "{vertical|inline}",
/*"inverseNav" : "true",*/
"syntaxTheme" : "cosmo"
}
}
}
}
});
};