Skip to content

Instantly share code, notes, and snippets.

@kamiyam
Last active December 14, 2015 01:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kamiyam/5010812 to your computer and use it in GitHub Desktop.
Save kamiyam/5010812 to your computer and use it in GitHub Desktop.
grunt-xxxxx auto all load setting...

grunt-xxxxx という名称のプラグインをすべてLoadする設定

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');
//......
};
{
"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