blob: 34f8dc83b9b3379ee60f230c16c2708444eaf96a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
module.exports = function (grunt) {
grunt.initConfig({
jshint: {
all: ['lib/*.js', 'examples/*.js']
},
mochaTest: {
test: {
options: {
reporter: 'spec'
},
src: ['tests/*.js']
}
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-mocha-test');
grunt.registerTask('default', ['jshint', 'mochaTest']);
};
|