Merge pull request #369 from radkodinev/run-jshint-with-tests

First check code with jshint upon running npm/grunt test
This commit is contained in:
Kyle Robinson Young 2014-08-30 10:26:52 -07:00
commit bffff3bb81
2 changed files with 3 additions and 2 deletions

View File

@ -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']);
};

View File

@ -24,7 +24,7 @@
"node": ">= 0.8.0"
},
"scripts": {
"test": "grunt nodeunit -v"
"test": "grunt test -v"
},
"dependencies": {
"gaze": "~0.5.1",