diff options
| author | Tobias Lindig <[email protected]> | 2013-12-10 10:28:44 +0100 |
|---|---|---|
| committer | Tobias Lindig <[email protected]> | 2013-12-10 10:28:44 +0100 |
| commit | 9f12f840b94293392cb0da008d744107b952d149 (patch) | |
| tree | dc1ced42666d3705e0c2760ae2ba1a228738afe8 | |
| parent | a6b5c7db1287a614c918d08c0f7b127be03ebe62 (diff) | |
| download | bootstrap-9f12f840b94293392cb0da008d744107b952d149.tar.xz bootstrap-9f12f840b94293392cb0da008d744107b952d149.zip | |
Buildprocess: use module "load-grunt-tasks" to load grunt tasks directly from the package.json
| -rw-r--r-- | Gruntfile.js | 18 | ||||
| -rw-r--r-- | package.json | 1 |
2 files changed, 2 insertions, 17 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 6b35cedc2..010dc58d7 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -325,23 +325,7 @@ module.exports = function (grunt) { // These plugins provide necessary tasks. - grunt.loadNpmTasks('grunt-banner'); - 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'); + require('load-grunt-tasks')(grunt, {scope: 'devDependencies'}); // Docs HTML validation task grunt.registerTask('validate-html', ['jekyll', 'validation']); diff --git a/package.json b/package.json index a63efc007..8a5b76e41 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ , "grunt-saucelabs": "~4.1.2" , "grunt-sed": "~0.1.1" , "regexp-quote": "~0.0.0" + , "load-grunt-tasks": "~0.2.0" } , "jspm": { "main": "js/bootstrap" |
