{"name":"gulp-load","version":"0.1.1","description":"Load gulp task just like grunt.loadTasks.","keywords":["gulp","gulpplugin"],"main":"index.js","dependencies":{"glob":"~3.2.7"},"devDependencies":{"gulp":"*","mocha":"~1.8.1","should":"~1.1.0","mocha-lcov-reporter":"~0.0.1","coveralls":"~2.0.7","blanket":"~1.1.4"},"repository":{"type":"git","url":"https://github.com/popomore/gulp-load.git"},"author":{"name":"popomore","email":"sakura9515@gmail.com"},"license":"MIT","scripts":{"test":"make test"},"readme":"# Gulp-load\n\n[![Build Status](https://travis-ci.org/popomore/gulp-load.png?branch=master)](https://travis-ci.org/popomore/gulp-load)\n[![Coverage Status](https://coveralls.io/repos/popomore/gulp-load/badge.png)](https://coveralls.io/r/popomore/gulp-load)\n\nLoad gulp task just like grunt.loadTasks.\n\nIf you want to load plugins automatically, [gulp-load-tasks](https://github.com/jackfranklin/gulp-load-tasks) will be a good choice.\n\n---\n\n## Install\n\nInstall gulp-load\n\n```\n$ npm install --save gulp-load\n```\n\n## Usage\n\nRequire gulp-load in your gulpfile\n\n```\nvar gulp = require('gulp');\nrequire('gulp-load')(gulp);\n\n// load tasks from tasks directory and\n// dependencies of start with `gulp-` in package.json\ngulp.loadTasks(__dirname);\n\n// run tasks which you loaded\ngulp.tasks('default', function() {\n  gulp.run('your_task');\n})\n```\n\n## API\n\nGulp-load will return a function that is same as `gulp.loadTasks`.\n\n```\nvar loadTasks = require('gulp-load')(gulp);\nloadTasks === gulp.loadTasks // return true\n```\n\nLoadTasks can load single file.\n\n```\ngulp.loadTasks('path/to/task.js');\n```\n\nLoadTasks can load specified module.\n\n```\ngulp.loadTasks('path/to/module');\n```\n\nLoadTasks can load by module's name. It will lookup from `NODE_PATH` and node_modules of current module.\n\n```\ngulp.loadTasks('gulp-concat');\n```\n\n**If load a module, it will load task from tasks directory of current module, and if gulp plugins (start with gulp-) exists in dependencies of package.json, then it will load each plugin as a module.**\n\n## License\n\nMIT\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/popomore/gulp-load/issues"},"_id":"gulp-load@0.1.1","dist":{"shasum":"464e57b50e25ebd2e22b0cc6bb0ece58bfd2c880","tarball":"http://registry-npm.ywwl.com/gulp-load/download/gulp-load-0.1.1.tgz","integrity":"sha512-4H/y6DUVT/2X665q0P26xZlgd+TBNn9w9spFYXpfuAVJwaSKM2Uclfi+EvVeH44nB2mX3IDhtqRdNg1WV/A4tg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBK0EAXgTmVneCNmZhWja7ncnAB3xkfMWXQlRrudc/1dAiEA7e2HVU6DAKWqw194i1KNdq+kpV9vbqIRPoO+WLOHYIY="}],"size":3274,"noattachment":false,"key":"/gulp-load/-/gulp-load-0.1.1.tgz"},"_from":".","_npmVersion":"1.2.22","_npmUser":{"name":"popomore","email":"sakura9515@gmail.com"},"maintainers":[{"name":"popomore","email":"sakura9515@gmail.com"}],"directories":{},"publish_time":1389086490013,"_cnpm_publish_time":1389086490013,"dist-tags":{"latest":"0.1.1"}}