Skip to content

Commit

Permalink
Buildprocess: use module "load-grunt-tasks" to load grunt tasks direc…
Browse files Browse the repository at this point in the history
…tly from the package.json
  • Loading branch information
tlindig committed Dec 10, 2013
1 parent a6b5c7d commit 9f12f84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
18 changes: 1 addition & 17 deletions Gruntfile.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -325,23 +325,7 @@ module.exports = function (grunt) {




// These plugins provide necessary tasks. // These plugins provide necessary tasks.
grunt.loadNpmTasks('grunt-banner'); require('load-grunt-tasks')(grunt, {scope: 'devDependencies'});
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-csslint');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-csscomb');
grunt.loadNpmTasks('grunt-html-validation');
grunt.loadNpmTasks('grunt-jekyll');
grunt.loadNpmTasks('grunt-jscs-checker');
grunt.loadNpmTasks('grunt-saucelabs');
grunt.loadNpmTasks('grunt-sed');


// Docs HTML validation task // Docs HTML validation task
grunt.registerTask('validate-html', ['jekyll', 'validation']); grunt.registerTask('validate-html', ['jekyll', 'validation']);
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
, "grunt-saucelabs": "~4.1.2" , "grunt-saucelabs": "~4.1.2"
, "grunt-sed": "~0.1.1" , "grunt-sed": "~0.1.1"
, "regexp-quote": "~0.0.0" , "regexp-quote": "~0.0.0"
, "load-grunt-tasks": "~0.2.0"
} }
, "jspm": { , "jspm": {
"main": "js/bootstrap" "main": "js/bootstrap"
Expand Down

0 comments on commit 9f12f84

Please sign in to comment.