}
},
+ exec: {
+ test: {
+ command: 'node ./test.js'
+ }
+ },
+
concat: {
options: {
banner: '<%= banner %>'
grunt.registerTask('test', [
'concat',
- 'jshint'
+ 'jshint',
+ 'exec'
]);
grunt.registerTask('default', 'test');
"test": "tests"
},
"scripts": {
- "test": "grunt test && node test.js"
+ "test": "grunt test"
},
"devDependencies": {
"grunt": "0.4.x",
"grunt-contrib-jshint": "0.8.x",
"grunt-contrib-qunit": "0.4.x",
"grunt-contrib-uglify": "0.3.x",
+ "grunt-exec": "0.4.x",
"load-grunt-tasks": "0.3.x",
"qunit": "0.5.x",
"time-grunt": "0.2.x"