-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGruntfile.js
29 lines (27 loc) · 906 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
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
"jsbeautifier": {
files: ["*.js", "examples/**/*js", "test/**/*js"],
options: {}
},
jshint: {
all: ['*.js', 'examples/**/*.js', 'test/**/*.js']
},
nodeunit: {
all: ['test/nu_tests/*.js']
},
todo: {
options: {},
src: ["*.js", "examples/**/*js", "test/**/*js"],
},
});
grunt.loadNpmTasks('grunt-jsbeautifier');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-nodeunit');
grunt.loadNpmTasks('grunt-todo');
// Default task(s).
grunt.registerTask('default', ['jsbeautifier', 'todo', 'jshint', 'nodeunit']);
//grunt.registerTask('default', ['jsbeautifier', 'nodeunit']);
};