Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit a885994

Browse files
committed
Merge pull request #167 from PascalPrecht/load-grunt-tasks-support
chore(grunt): adds load-grunt-tasks module
2 parents 6e60c7f + d8a66a4 commit a885994

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Gruntfile.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,7 @@ module.exports = function(grunt) {
6565

6666
});
6767

68-
grunt.loadNpmTasks('grunt-contrib-uglify');
69-
grunt.loadNpmTasks('grunt-contrib-jshint');
70-
grunt.loadNpmTasks('grunt-exec');
71-
grunt.loadNpmTasks('grunt-contrib-watch');
72-
grunt.loadNpmTasks('grunt-notify');
68+
require('load-grunt-tasks')(grunt);
7369

7470
grunt.registerTask('build', ['jshint', 'uglify']);
7571
grunt.registerTask('test', ['exec:casperjs']);

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"grunt-notify": "~0.2.7",
1717
"grunt-contrib-watch": "~0.5.1",
1818
"grunt-contrib-jshint": "~0.6.2",
19-
"grunt-exec": "~0.4.2"
19+
"grunt-exec": "~0.4.2",
20+
"load-grunt-tasks": "~0.2.0"
2021
}
2122
}

0 commit comments

Comments
 (0)