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

Commit

Permalink
chore(grunt): add load-grunt-tasks module
Browse files Browse the repository at this point in the history
Clean up repetitive loading of grunt tasks

Closes #120
  • Loading branch information
BaconSoap committed Dec 18, 2013
1 parent 262528a commit 613089b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ module.exports = function (grunt) {
var initConfig;

// Loading external tasks
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-karma');
grunt.loadNpmTasks('grunt-conventional-changelog');
require('load-grunt-tasks')(grunt);

// Project configuration.
initConfig = {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"grunt-contrib-watch": "~0.5.3",
"grunt-karma": "~0.6.2",
"karma": "~0.10.2",
"grunt-conventional-changelog": "~1.0.0"
"grunt-conventional-changelog": "~1.0.0",
"load-grunt-tasks": "~0.2.0"
}
}

0 comments on commit 613089b

Please sign in to comment.