Skip to content

Commit fa6568c

Browse files
author
Rémi Becheras
committed
add jsdoc task
1 parent 415effb commit fa6568c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

gruntfile.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
var shell = require('shelljs')
2+
13
module.exports = function (grunt) {
24
require('load-grunt-tasks')(grunt)
35

@@ -46,6 +48,10 @@ module.exports = function (grunt) {
4648
}
4749
})
4850

51+
grunt.registerTask('jsdoc', function () {
52+
shell.exec('npm run jsdoc')
53+
})
54+
4955
grunt.registerTask('default', ['standard', 'watch'])
50-
grunt.registerTask('build', ['standard', 'uglify'])
56+
grunt.registerTask('build', ['standard', 'uglify', 'jsdoc'])
5157
}

0 commit comments

Comments
 (0)