First check code with jshint upon running npm/grunt test
This commit is contained in:
parent
1d48553498
commit
3d706781a1
@ -43,5 +43,6 @@ module.exports = function(grunt) {
|
||||
grunt.loadNpmTasks('grunt-contrib-nodeunit');
|
||||
grunt.loadNpmTasks('grunt-contrib-internal');
|
||||
|
||||
grunt.registerTask('default', ['jshint', 'nodeunit', 'build-contrib']);
|
||||
grunt.registerTask('test', ['jshint', 'nodeunit']);
|
||||
grunt.registerTask('default', ['test', 'build-contrib']);
|
||||
};
|
||||
|
@ -24,7 +24,7 @@
|
||||
"node": ">= 0.8.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "grunt nodeunit -v"
|
||||
"test": "grunt test -v"
|
||||
},
|
||||
"dependencies": {
|
||||
"gaze": "~0.5.1",
|
||||
|
Loading…
Reference in New Issue
Block a user