Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 8ee857e

Browse files
committed
chore(grunt): adds load-grunt-tasks
makes it easier to maintain grunt plugins
1 parent 718ffce commit 8ee857e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gruntFile.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module.exports = function (grunt) {
22

3-
grunt.loadNpmTasks('grunt-testacular');
4-
grunt.loadNpmTasks('grunt-contrib-jshint');
3+
reqiore('load-grunt-tasks')(grunt);
54

65
// Default task.
76
grunt.registerTask('default', ['jshint', 'testacular']);
@@ -36,4 +35,4 @@ module.exports = function (grunt) {
3635
}
3736
});
3837

39-
};
38+
};

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"devDependencies": {
1111
"grunt": "~0.4.1",
1212
"grunt-testacular": "~0.3.0",
13-
"grunt-contrib-jshint": "~0.2.0"
13+
"grunt-contrib-jshint": "~0.2.0",
14+
"load-grunt-tasks": "~0.2.0"
1415
},
1516
"scripts": {},
1617
"repository": {

0 commit comments

Comments
 (0)