Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit e04a6ad

Browse files
0x-r4bbitdouglasduteil
authored andcommitted
chore(grunt): adds load-grunt-tasks
1 parent edce422 commit e04a6ad

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

gruntFile.js

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

3-
grunt.loadNpmTasks('grunt-karma');
4-
grunt.loadNpmTasks('grunt-contrib-jshint');
5-
grunt.loadNpmTasks('grunt-contrib-uglify');
6-
grunt.loadNpmTasks('grunt-contrib-copy');
7-
grunt.loadNpmTasks('grunt-contrib-watch');
8-
grunt.loadNpmTasks('grunt-conventional-changelog');
3+
require('load-grunt-tasks')(grunt);
94

105
// Default task.
116
grunt.registerTask('default', ['jshint', 'karma:unit']);

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"karma-phantomjs-launcher": "0.1.x",
2626
"karma-requirejs": "0.2.x",
2727
"karma-script-launcher": "0.1.x",
28+
"load-grunt-tasks": "0.2.x",
2829
"requirejs": "2.1.x"
2930
},
3031
"scripts": {},

0 commit comments

Comments
 (0)