grunt-xxxxx という名称のプラグインをすべてLoadする設定
Last active
December 14, 2015 01:59
-
-
Save kamiyam/5010812 to your computer and use it in GitHub Desktop.
grunt-xxxxx auto all load setting...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function (grunt) { | |
grunt.initConfig({ | |
xxx: xxx | |
//...... | |
}); | |
// load all grunt tasks | |
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
// grunt.loadNpmTasks('grunt-init'); | |
// grunt.loadNpmTasks('grunt-regarde'); | |
// grunt.loadNpmTasks('grunt-contrib-connect'); | |
// grunt.loadNpmTasks('grunt-contrib-livereload'); | |
//...... | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "grunt-auto-load", | |
"version": "0.0.0", | |
"Dependencies": {}, | |
"devDependencies": { | |
"grunt": "~0.4.0", | |
"matchdep": "*" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment