Skip to content

Commit 84a9235

Browse files
committed
Fix default grunt task
1 parent 279b1d0 commit 84a9235

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Gruntfile.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ module.exports = function(grunt) {
1515
jshint: {
1616
all: [
1717
'Gruntfile.js',
18-
'tasks/*.js',
19-
'<%= nodeunit.tests %>'
18+
'tasks/*.js'
2019
],
2120
options: {
2221
jshintrc: '.jshintrc'
@@ -32,6 +31,6 @@ module.exports = function(grunt) {
3231
grunt.loadNpmTasks('grunt-contrib-jshint');
3332

3433
// By default, lint and run all tests.
35-
grunt.registerTask('default', ['jshint', 'test']);
34+
grunt.registerTask('default', ['jshint']);
3635

3736
};

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"name": "André Fiedler",
88
"email": "[email protected]"
99
},
10+
"scripts": {
11+
"test": "grunt"
12+
},
1013
"repository": {
1114
"type": "git",
1215
"url": "https://github.com/documentationjs/grunt-documentation"

0 commit comments

Comments
 (0)