-
Notifications
You must be signed in to change notification settings - Fork 9
/
Gruntfile.js
40 lines (35 loc) · 936 Bytes
/
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
33
34
35
36
37
38
39
40
module.exports = function( grunt ) {
'use strict';
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
//grunt.loadNpmTasks( 'grunt-contrib-qunit' );
//grunt.loadNpmTasks( 'grunt-jsduck' );
grunt.initConfig( {
jshint: {
all: [ 'worker/EmsArgs.js', 'worker/EmsWorkerProxy.js', 'worker/OpusEncoder.js', 'test/*.js' ]
},
qunit: {
all: [ 'test/index.html' ]
},
jsduck: {
main: {
// source paths with your code
src: [
'recorder.js',
'worker/*.js'
],
// docs output dir
dest: 'docs',
// extra options
options: {
'builtin-classes': true,
'title': 'Recorder.js API documentation',
'message': 'Currently unstable and in development. Don\'t trust this docs, yet!',
'warnings': [],
'external': [ 'ArrayBuffer', 'Blob', 'DataView', 'Uint8Array' ]
}
}
}
} );
grunt.registerTask( 'test', [ 'jshint' ] );
grunt.registerTask( 'default', [ 'test' ] );
};