{
  "name": "load-grunt-tasks",
  "version": "0.2.1",
  "description": "Load multiple grunt tasks using globbing patterns",
  "keywords": [
    "grunt",
    "load",
    "require",
    "tasks",
    "glob",
    "pattern",
    "match",
    "matchdep",
    "dependencies"
  ],
  "homepage": "https://github.com/sindresorhus/load-grunt-tasks",
  "bugs": {
    "url": "https://github.com/sindresorhus/load-grunt-tasks/issues"
  },
  "license": "MIT",
  "author": {
    "name": "Sindre Sorhus",
    "email": "sindresorhus@gmail.com",
    "url": "http://sindresorhus.com"
  },
  "files": [
    "load-grunt-tasks.js"
  ],
  "main": "load-grunt-tasks",
  "repository": {
    "type": "git",
    "url": "git://github.com/sindresorhus/load-grunt-tasks.git"
  },
  "scripts": {
    "test": "grunt"
  },
  "dependencies": {
    "globule": "~0.1.0",
    "findup-sync": "~0.1.2"
  },
  "devDependencies": {
    "grunt": "~0.4.1",
    "grunt-cli": "~0.1.9",
    "grunt-svgmin": "~0.2.0"
  },
  "engines": {
    "node": ">=0.8.0"
  },
  "readme": "# load-grunt-tasks [![Build Status](https://secure.travis-ci.org/sindresorhus/load-grunt-tasks.png?branch=master)](http://travis-ci.org/sindresorhus/load-grunt-tasks) [![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/)\n\n> Load multiple grunt tasks using globbing patterns\n\nUsually you would have to load each task one by one, which is unnecessarily cumbersome.\n\nThis module will read the `dependencies`/`devDependencies`/`peerDependencies` in your package.json and load grunt tasks that matches the provided patterns.\n\n**Note the new argument signature as of 0.2.0.**\n\n\n#### Before\n\n```js\ngrunt.loadNpmTasks('grunt-shell');\ngrunt.loadNpmTasks('grunt-sass');\ngrunt.loadNpmTasks('grunt-recess');\ngrunt.loadNpmTasks('grunt-sizediff');\ngrunt.loadNpmTasks('grunt-svgmin');\ngrunt.loadNpmTasks('grunt-styl');\ngrunt.loadNpmTasks('grunt-php');\ngrunt.loadNpmTasks('grunt-eslint');\ngrunt.loadNpmTasks('grunt-concurrent');\ngrunt.loadNpmTasks('grunt-bower-requirejs');\n```\n\n#### After\n\n```js\nrequire('load-grunt-tasks')(grunt);\n```\n\n\n## Install\n\nInstall with [npm](https://npmjs.org/package/load-grunt-tasks): `npm install --save-dev load-grunt-tasks`\n\n\n## Example config\n\n```js\n// Gruntfile.js\nmodule.exports = function (grunt) {\n\t// load all grunt tasks matching the `grunt-*` pattern\n\trequire('load-grunt-tasks')(grunt);\n\n\tgrunt.initConfig({});\n\tgrunt.registerTask('default', []);\n}\n```\n\n\n## Usage examples\n\n### Load all grunt tasks\n\n```js\nrequire('load-grunt-tasks')(grunt);\n```\n\nEquivalent to:\n\n```js\nrequire('load-grunt-tasks')(grunt, {pattern: 'grunt-*'});\n```\n\n### Load all grunt-contrib tasks\n\n```js\nrequire('load-grunt-tasks')(grunt, {pattern: 'grunt-contrib-*'});\n```\n\n### Load all grunt-contrib tasks and another non-contrib task\n\n```js\nrequire('load-grunt-tasks')(grunt, {pattern: ['grunt-contrib-*', 'grunt-shell']});\n```\n\n### Load all grunt-contrib tasks excluding one\n\nYou can exclude tasks using the negate `!` globbing pattern:\n\n```js\nrequire('load-grunt-tasks')(grunt, {pattern: ['grunt-contrib-*', '!grunt-contrib-coffee']});\n```\n\n### Set custom path to package.json\n\n```js\nrequire('load-grunt-tasks')(grunt, {config: '../package'});\n```\n\n### Only load from `devDependencies`\n\n```js\nrequire('load-grunt-tasks')(grunt, {scope: 'devDependencies'});\n```\n\n### Only load from `devDependencies` and `dependencies`\n\n```js\nrequire('load-grunt-tasks')(grunt, {scope: ['devDependencies', 'dependencies']});\n```\n\n### All options in use\n\n```js\nrequire('load-grunt-tasks')(grunt, {\n\tpattern: 'grunt-contrib-*',\n\tconfig: '../package.json',\n\tscope: 'devDependencies'\n});\n```\n\n\n## Options\n\n### pattern\n\nType: `String|Array`  \nDefault: `'grunt-*'`\n\nBy default `grunt-*` will be used as the [globbing pattern](https://github.com/isaacs/minimatch).\n\n### config\n\nType: `String|Object`  \nDefault: Path to nearest package.json\n\n### scope\n\nType: `String|Array`  \nDefault: `['dependencies', 'devDependencies', 'peerDependencies']`\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
  "readmeFilename": "readme.md",
  "_id": "load-grunt-tasks@0.2.1",
  "_from": "load-grunt-tasks@0.2.1"
}
