{"_id":"grunt-auto-install","_rev":"31-dd107c3360dbafcf7071dcede640b141","name":"grunt-auto-install","description":"Install and update npm & bower dependencies.","dist-tags":{"latest":"0.3.1"},"versions":{"0.1.0":{"name":"grunt-auto-install","description":"Install and update npm & bower dependencies.","version":"0.1.0","homepage":"https://github.com/Manabu-GT/grunt-auto-install","author":{"name":"Manabu-GT","url":"http://manabu-gt.tumblr.com"},"repository":{"type":"git","url":"git://github.com/Manabu-GT/grunt-auto-install.git"},"bugs":{"url":"https://github.com/Manabu-GT/grunt-auto-install/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Manabu-GT/grunt-auto-install/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.0","async":"~0.2.9"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["gruntplugin"],"_id":"grunt-auto-install@0.1.0","dist":{"shasum":"8b21e42a3f163ea0b3983fb3ef7f6505f17df63c","tarball":"https://registry.npmjs.org/grunt-auto-install/-/grunt-auto-install-0.1.0.tgz","integrity":"sha512-iipplWzgAu8FTGkeRPSz18ECaXu90UhjdZUXnFcL0wD6l19457xsyXHRFDgk5rj3ihsAa26Qu/X1fhXaaTY8/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGP1MeNRgyinhNiECy1aDuDZYsss8oqbBfL652/QkFe0AiA6IhxAkdNGfaznO7xXriS773d/UGE3IBeYBCK2zTnKMg=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"manabu-gt","email":"manabu1984@gmail.com"},"maintainers":[{"name":"manabu-gt","email":"manabu1984@gmail.com"}],"directories":{}},"0.1.1":{"name":"grunt-auto-install","description":"Install and update npm & bower dependencies.","version":"0.1.1","homepage":"https://github.com/Manabu-GT/grunt-auto-install","author":{"name":"Manabu-GT","url":"http://manabu-gt.tumblr.com"},"repository":{"type":"git","url":"git://github.com/Manabu-GT/grunt-auto-install.git"},"bugs":{"url":"https://github.com/Manabu-GT/grunt-auto-install/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Manabu-GT/grunt-auto-install/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"async":"~0.2.9"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["gruntplugin","grunt","npm","bower","install"],"_id":"grunt-auto-install@0.1.1","dist":{"shasum":"52a87ee070dfc86cc4814ee894bfcb83104ece44","tarball":"https://registry.npmjs.org/grunt-auto-install/-/grunt-auto-install-0.1.1.tgz","integrity":"sha512-Nl6/RLUK27zBePnWqeiG3xCp7LzayjMGjXmMkoQiut4cCh02/StI3U1zrbVN9NlDoaOW1GALNMW1Fm82PI+kkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBK5/h9rXji3A0HFcvI1naT7F2Rf9vWmJXyMc4A5iPQ8AiEA8b2HPNlA48Uw0vnyunhn3vhm4OiID7yFJgQJW8sGJGw="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"manabu-gt","email":"manabu1984@gmail.com"},"maintainers":[{"name":"manabu-gt","email":"manabu1984@gmail.com"}],"directories":{}},"0.2.0":{"name":"grunt-auto-install","description":"Install and update npm & bower dependencies.","version":"0.2.0","homepage":"https://github.com/Manabu-GT/grunt-auto-install","author":{"name":"Manabu-GT","url":"http://manabu-gt.tumblr.com"},"repository":{"type":"git","url":"git://github.com/Manabu-GT/grunt-auto-install.git"},"bugs":{"url":"https://github.com/Manabu-GT/grunt-auto-install/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Manabu-GT/grunt-auto-install/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"async":"~0.2.9"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["gruntplugin","grunt","npm","bower","install"],"_id":"grunt-auto-install@0.2.0","dist":{"shasum":"2d1616545b79669c4793b399480d840223c21ad0","tarball":"https://registry.npmjs.org/grunt-auto-install/-/grunt-auto-install-0.2.0.tgz","integrity":"sha512-v6RSylKPm/ePiaYggtrNbv5+j0vIZZxE51DsphQUgq0PChsjSL1jOz81K+qDiLwUqahMKZN7jcw+iNo65iQk+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCv5chh0iXZAmB4Q49LQC/i1up9SGYYhfPg2zEo/lzN9wIhAKN+I0seeKWQsqC5oWVfMctnFkliHlYbYbLOh4QYnEd6"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"manabu-gt","email":"manabu1984@gmail.com"},"maintainers":[{"name":"manabu-gt","email":"manabu1984@gmail.com"}],"directories":{}},"0.2.2":{"name":"grunt-auto-install","description":"Install and update npm & bower dependencies.","version":"0.2.2","homepage":"https://github.com/Manabu-GT/grunt-auto-install","author":{"name":"Manabu-GT","url":"http://manabu-gt.tumblr.com"},"repository":{"type":"git","url":"git://github.com/Manabu-GT/grunt-auto-install.git"},"bugs":{"url":"https://github.com/Manabu-GT/grunt-auto-install/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Manabu-GT/grunt-auto-install/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt test"},"dependencies":{"async":"~0.2.9"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.3.1","grunt":"~0.4.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["gruntplugin","grunt","npm","bower","install"],"_id":"grunt-auto-install@0.2.2","dist":{"shasum":"4ea848ea55d2a1358cd5f738d9a2b1dd22fc0a1b","tarball":"https://registry.npmjs.org/grunt-auto-install/-/grunt-auto-install-0.2.2.tgz","integrity":"sha512-UUltl/a1JGCAfH2tkHDJ9JYJ+OzHXHGik5e45Pj1ur0+vzamP9FrFiQTzD6Gn0cTq2HAtChUf4Rm3oNSJxuKaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHNImb/5uhrcQD4RohKPBECTyYtwmgpaMm1CvuHxlQywIgd1SLzrekpGldlpbvJdo3gdBEfv5RYC//QZXSQAf6cqs="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"manabu-gt","email":"manabu1984@gmail.com"},"maintainers":[{"name":"manabu-gt","email":"manabu1984@gmail.com"}],"directories":{}},"0.2.3":{"name":"grunt-auto-install","description":"Install and update npm & bower dependencies.","version":"0.2.3","homepage":"https://github.com/Manabu-GT/grunt-auto-install","author":{"name":"Manabu-GT","url":"http://manabu-gt.tumblr.com"},"repository":{"type":"git","url":"git://github.com/Manabu-GT/grunt-auto-install.git"},"bugs":{"url":"https://github.com/Manabu-GT/grunt-auto-install/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Manabu-GT/grunt-auto-install/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt test"},"dependencies":{"async":"~0.2.9"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.3.1","grunt":"~0.4.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["gruntplugin","grunt","npm","bower","install"],"_id":"grunt-auto-install@0.2.3","dist":{"shasum":"0570a253d3ebdb595f219743fc28396cddbacd1f","tarball":"https://registry.npmjs.org/grunt-auto-install/-/grunt-auto-install-0.2.3.tgz","integrity":"sha512-kt7GV0O7T6iOJjmlDoUDWDFC6A+MZsDv2zF5X6W9OVnJ41ysiSLtPwlO7d6gikg8boSF6a0+BN6YRlTwvQqTpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC12HO8vVdBJn/p8shqsvZBu+hskaLEBHHOVZVlW9t6kQIhAKOQDeGLTyWnAkIx1yiW6Cr2vq9sspIFbhJCN1Nx9Rke"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"manabu-gt","email":"manabu1984@gmail.com"},"maintainers":[{"name":"manabu-gt","email":"manabu1984@gmail.com"}],"directories":{}},"0.2.4":{"name":"grunt-auto-install","description":"Install and update npm & bower dependencies.","version":"0.2.4","homepage":"https://github.com/Manabu-GT/grunt-auto-install","author":{"name":"Manabu-GT","url":"http://manabu-gt.tumblr.com"},"repository":{"type":"git","url":"git://github.com/Manabu-GT/grunt-auto-install.git"},"bugs":{"url":"https://github.com/Manabu-GT/grunt-auto-install/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Manabu-GT/grunt-auto-install/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt test"},"dependencies":{"async":"~0.2.9"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.3.1","grunt":"~0.4.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["gruntplugin","grunt","npm","bower","install"],"gitHead":"2df3b8ffc9370a1da0d84579d60c143ae22ee7e9","_id":"grunt-auto-install@0.2.4","_shasum":"2ac20131170e86ab99dec23d23108866ff0ec980","_from":".","_npmVersion":"2.11.1","_nodeVersion":"0.10.21","_npmUser":{"name":"manabu-gt","email":"manabu1984@gmail.com"},"maintainers":[{"name":"manabu-gt","email":"manabu1984@gmail.com"}],"dist":{"shasum":"2ac20131170e86ab99dec23d23108866ff0ec980","tarball":"https://registry.npmjs.org/grunt-auto-install/-/grunt-auto-install-0.2.4.tgz","integrity":"sha512-ZMqkM/I72rehBfSQ1XruxD6QIj8ftvcWXIZFdhKx0K3npmIFBgIa78+S+8RIztftqc30cjvL2sy96YrHo17jFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGt7cZyGvDw/NGrwEbbFUWt5aLmsySPu8emWEoG8zb3QIgLH2KuBv7DOT+p9BN4uNDWh6ym3vo+CS6Xsmxm5m9prw="}]},"directories":{}},"0.3.0":{"name":"grunt-auto-install","description":"Install and update npm & bower dependencies.","version":"0.3.0","homepage":"https://github.com/Manabu-GT/grunt-auto-install","author":{"name":"Manabu-GT","url":"http://manabu-gt.tumblr.com"},"repository":{"type":"git","url":"git://github.com/Manabu-GT/grunt-auto-install.git"},"bugs":{"url":"https://github.com/Manabu-GT/grunt-auto-install/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Manabu-GT/grunt-auto-install/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt test"},"dependencies":{"async":"~0.2.9"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.3.1","grunt":"~0.4.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["gruntplugin","grunt","npm","bower","install"],"gitHead":"65903a91ac60e348e6e46620eed5c7f8588c1e82","_id":"grunt-auto-install@0.3.0","_shasum":"d5d94b54cdad52f433a213cd35ac71d4ee6e32d6","_from":".","_npmVersion":"2.11.1","_nodeVersion":"0.10.21","_npmUser":{"name":"manabu-gt","email":"manabu1984@gmail.com"},"maintainers":[{"name":"manabu-gt","email":"manabu1984@gmail.com"}],"dist":{"shasum":"d5d94b54cdad52f433a213cd35ac71d4ee6e32d6","tarball":"https://registry.npmjs.org/grunt-auto-install/-/grunt-auto-install-0.3.0.tgz","integrity":"sha512-Qt/Nvzg95GIPZET0xkb/r2hsXWjfa8CiTTjdfHisyFifETOewwu4TQGU/Yx9Tb5cNidPwWXehWd0TbvsUbcYFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCs7SuMn2LnXcn4j7pcOIdo/NNmmLPRGQ7j2x1hzaIiaQIhANyN+XPvmfjl2iSEbqL7ByPyHxSlUZevWiqHku+6vQGJ"}]},"directories":{}},"0.3.1":{"name":"grunt-auto-install","description":"Install and update npm & bower dependencies.","version":"0.3.1","homepage":"https://github.com/Manabu-GT/grunt-auto-install","author":{"name":"Manabu-GT","url":"http://manabu-gt.tumblr.com"},"repository":{"type":"git","url":"git://github.com/Manabu-GT/grunt-auto-install.git"},"bugs":{"url":"https://github.com/Manabu-GT/grunt-auto-install/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Manabu-GT/grunt-auto-install/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.10.0"},"scripts":{"test":"grunt test"},"dependencies":{"async":"~0.2.9"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.3.1","grunt":"~0.4.0"},"peerDependencies":{"grunt":">=0.4.0"},"keywords":["gruntplugin","grunt","npm","bower","install"],"gitHead":"d6e452c2932324d1bb223370a9ec722c00acc646","_id":"grunt-auto-install@0.3.1","_shasum":"9c9a8f8332f36ccdeb92c894f8d06343223a148e","_from":".","_npmVersion":"2.11.1","_nodeVersion":"0.10.21","_npmUser":{"name":"manabu-gt","email":"manabu1984@gmail.com"},"maintainers":[{"name":"manabu-gt","email":"manabu1984@gmail.com"}],"dist":{"shasum":"9c9a8f8332f36ccdeb92c894f8d06343223a148e","tarball":"https://registry.npmjs.org/grunt-auto-install/-/grunt-auto-install-0.3.1.tgz","integrity":"sha512-2YmbOl0tBcfnU/x4OVfBfUQSw+OPTtgYgRV2hbyOqnVEQhWnB0hcLHAWh6NpnRpYKnOc4GNgPa1B+qD4d3CP2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeRmwZZZ0cz8DXyhQ2Y8ic06+41HzvluKGZBTfo0gwdwIhAMkwWDzLV91HRkAonarOFKYbo2BiLMB12bRWIZ0iowZd"}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/grunt-auto-install-0.3.1.tgz_1463670701964_0.8308181737083942"},"directories":{}}},"readme":"# grunt-auto-install [![Build Status](https://travis-ci.org/Manabu-GT/grunt-auto-install.png?branch=master)](https://travis-ci.org/Manabu-GT/grunt-auto-install)\n\n> Install and update npm and bower dependencies.\n> It looks for 'package.json' and 'bower.json' files, and runs 'npm install' and 'bower install' respectively only if they exist.\n> (You can also explicitly disable npm/bower tasks even if those files exist.)\n\n## Getting Started\nThis plugin requires Grunt `~0.4.0`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-auto-install --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-auto-install');\n```\n\n## The \"auto_install\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `auto_install` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  auto_install: {\n    local: {},\n    subdir: {\n      options: {\n        cwd: 'subdir',\n        stdout: true,\n        stderr: true,\n        failOnError: true,\n        npm: '--production'\n      }\n    }\n  },\n});\n```\n\n### Options\n\n#### cwd\nType: `String`\nDefault value: `''` - runs in current directory\n\nThe working directory to run 'npm install' and 'bower install'. (relative path)\n\n#### stdout\nType: `Boolean`\nDefault value: `true`\n\nShows stdout in the terminal.\n\n#### stderr\nType: `Boolean`\nDefault value: `true`\n\nShows stderr in the terminal.\n\n#### failOnError\nType: `Boolean`\nDefault value: `true`\n\nInstructs the auto-install task to fail the grunt run if an error occurs during the task execution.\n\n#### npm\nType: `Boolean` `String`\nDefault value: `true`\n\nSet to `false` to turn off `npm install` so that it will not run even if there is a `package.json` file present.\nIf a `String` is specified, it is passed as an install option flags to `npm install`.\nFor example, `--production` flag could be used not to install modules listed in devDependencies.\n\n#### bower\nType: `Boolean` `String`\nDefault value: `true`\n\nSet to `false` to turn off `bower install` so that it will not run even if there is a `bower.json` file present.\nIf a `String` is specified, it is passed as an install option flags to `bower install`.\nFor example, `--production` flag could be used not to install modules listed in devDependencies and\n`--allow-root` flag could be used so all is done using a root user.\n\n#### recursive\nType: `Boolean`\nDefault value: `false`\n\nSet to `true` to turn on the recursive installation.\nWill walk the entire directory tree and install dependencies for any package contained in a subdirectory\n\n#### match\nType: `String` `[String]`\nDefault value: `'.*'`\n\nWhen recursive is set to `true`, will perform the installation only on the directories that match a regular expression, or one in an array of regular expressions.\n\n#### exclude\nType: `String` `[String]`\nDefault value: `'/(?=a)b/'`\n\nWhen recursive is set to `true`, will ignore the directories (and it's sub directories) that match with a regular expression, or one in an array of regular expressions.\n\n### Usage Examples\n\n#### Default Options\n\n```js\ngrunt.initConfig({\n  auto_install: {\n    local: {}\n  },\n});\n```\n\n#### Custom Options\n\n```js\ngrunt.initConfig({\n  auto_install: {\n    subdir: {\n      options: {\n        cwd: 'subdir',\n        stderr: false,\n        failOnError: false,\n        npm: false,\n        bower: '--allow-root'\n      }\n    }\n  },\n});\n```\n\n#### Recursive Option\nYou will most likely not use the `match` option\n\n```js\nauto_install: {\n  grunt.initConfig({\n    local: {},\n    options: {\n      recursive: true,\n      exclude: ['.git', 'node_modules', 'bower_components']\n    }\n  }\n}\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n * 2016-05-20   v0.3.1   Update peerDependencies to support Grunt 1.0\n * 2015-10-11   v0.3.0   Added recursive options\n * 2015-06-09   v0.2.4   Disabled maxBuffer to avoid the maxBuffer exceeded error\n * 2014-12-18   v0.2.3   Added npm and bower options, and removed production option\n * 2014-10-25   v0.2.2   Added production option\n * 2014-02-27   v0.2.0   Converted to MultiTask\n * 2013-12-09   v0.1.1   Updated package.json\n * 2013-12-07   v0.1.0   Initial Release\n","maintainers":[{"name":"manabu-gt","email":"manabu1984@gmail.com"}],"time":{"modified":"2022-06-18T14:26:56.878Z","created":"2013-12-07T14:36:08.591Z","0.1.0":"2013-12-07T14:36:11.674Z","0.1.1":"2013-12-09T05:12:55.439Z","0.2.0":"2014-02-27T08:34:33.656Z","0.2.2":"2014-10-24T19:10:51.423Z","0.2.3":"2014-12-17T17:51:42.059Z","0.2.4":"2015-06-08T16:03:38.448Z","0.3.0":"2015-10-10T17:18:38.666Z","0.3.1":"2016-05-19T15:11:46.930Z"},"author":{"name":"Manabu-GT","url":"http://manabu-gt.tumblr.com"},"repository":{"type":"git","url":"git://github.com/Manabu-GT/grunt-auto-install.git"},"homepage":"https://github.com/Manabu-GT/grunt-auto-install","keywords":["gruntplugin","grunt","npm","bower","install"],"bugs":{"url":"https://github.com/Manabu-GT/grunt-auto-install/issues"},"readmeFilename":"README.md","users":{"novaleaf":true,"samoji":true,"shahyar":true}}