{"maintainers":[{"name":"sorrycc","email":"sorrycc@gmail.com"}],"keywords":["webpack","webpack-plugin","npm","install"],"dist-tags":{"latest":"2.0.4"},"author":{"name":"Eric Clemmons","email":"eric@smarterspam.com"},"description":"Webpack loader to automatically npm install & save dependencies.","readme":"# npm-install-webpack-plugin\n\n> Speed up development by **automatically installing & saving dependencies** with Webpack.\n>\n> [![npm-install-webpack-plugin mp4](https://cloud.githubusercontent.com/assets/15182/12540538/6a4e8f1a-c2d0-11e5-97ee-4ddaf6892645.gif)](https://dl.dropboxusercontent.com/u/55764/npm-install-webpack-plugin.mp4)\n\nSeamlessly works with:\n- [x] Javascript\n  (e.g. `require`, `import`)\n- [x] CSS\n  (e.g. `@import \"~bootstrap\"`)\n- [x] Webpack loaders\n  (e.g. `babel-loader`, `file-loader`, etc.)\n\n[![travis build](https://img.shields.io/travis/ericclemmons/npm-install-webpack-plugin.svg)](https://travis-ci.org/ericclemmons/npm-install-webpack-plugin)\n[![Coverage Status](https://coveralls.io/repos/ericclemmons/npm-install-webpack-plugin/badge.svg?branch=master&service=github)](https://coveralls.io/github/ericclemmons/npm-install-webpack-plugin?branch=master)\n[![version](https://img.shields.io/npm/v/npm-install-webpack-plugin.svg)](http://npm.im/npm-install-webpack-plugin)\n[![downloads](https://img.shields.io/npm/dm/npm-install-webpack-plugin.svg)](http://npm-stat.com/charts.html?package=npm-install-webpack-plugin)\n[![MIT License](https://img.shields.io/npm/l/npm-install-webpack-plugin.svg)](http://opensource.org/licenses/MIT)\n\n- - -\n\n### Why?\n\nIt sucks to <kbd>Ctrl-C</kbd> your\nbuild script & server just to install\na dependency you didn't know you needed until now.\n\nInstead, use `require` or `import` how you normally would and `npm install`\nwill happen **automatically install & save missing dependencies** while you work!\n\n### Installation\n\n```shell\n$ npm install --save-dev npm-install-webpack-plugin\n```\n\n### Usage\n\nIn your `webpack.config.js`:\n\n```js\nplugins: [\n  new NpmInstallPlugin(),\n],\n```\n\n**If you have an `.npmrc` file in your project,\nthose arguments will be used:**\n\n```\nsave=true\nsave-exact=true\n```\n\nAlternatively, you can provide your own arguments to `npm install`:\n\n```js\nplugins: [\n  new NpmInstallPlugin({\n    ...\n    cacheMin: 999999  // --cache-min=999999 (prefer NPM cached version)\n    registry: \"...\"   // --registry=\"...\"\n    save: true,       // --save\n    saveDev: true,    // --save-dev\n    saveExact: true,  // --save-exact\n    ...\n  }),\n],\n```\n\n### License\n\n> MIT License 2016 © Eric Clemmons\n","repository":{"type":"git","url":"git+https://github.com/ericclemmons/npm-install-webpack-plugin.git"},"bugs":{"url":"https://github.com/ericclemmons/npm-install-webpack-plugin/issues"},"license":"MIT","versions":{"2.0.2":{"name":"npm-install-webpack-plugin-cn","version":"2.0.2","description":"Webpack loader to automatically npm install & save dependencies.","main":"index.js","files":["src"],"scripts":{"changelog":"npm run changelog:generate && npm run changelog:add","changelog:add":"git add CHANGELOG.md","changelog:generate":"github_changelog_generator --future-release $npm_package_version","coverage":"npm test && nyc report --reporter=text-lcov | coveralls","postversion":"npm run version:amend && git push origin master --tags && npm publish","test":"NODE_ENV=test nyc mocha","version":"npm run changelog","version:amend":"git commit --amend -m \"Release v${npm_package_version}\""},"repository":{"type":"git","url":"git+https://github.com/ericclemmons/npm-install-webpack-plugin.git"},"keywords":["webpack","webpack-plugin","npm","install"],"author":{"name":"Eric Clemmons","email":"eric@smarterspam.com"},"license":"MIT","bugs":{"url":"https://github.com/ericclemmons/npm-install-webpack-plugin/issues"},"homepage":"https://github.com/ericclemmons/npm-install-webpack-plugin#readme","dependencies":{"cross-spawn":"^2.1.4","lodash.kebabcase":"^3.1.0","which":"^1.2.4"},"devDependencies":{"coveralls":"^2.11.6","expect":"^1.13.4","mocha":"^2.3.4","nyc":"^5.3.0"},"gitHead":"3e9ce6f782298c6d1cd808226958ecaa25beaa3b","_id":"npm-install-webpack-plugin-cn@2.0.2","_shasum":"4994e8a4e3659185e4246d78a961f623c5016a11","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"dist":{"shasum":"4994e8a4e3659185e4246d78a961f623c5016a11","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/npm-install-webpack-plugin-cn/-/npm-install-webpack-plugin-cn-2.0.2.tgz"},"maintainers":[{"name":"sorrycc","email":"sorrycc@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/npm-install-webpack-plugin-cn-2.0.2.tgz_1457060342526_0.6055699693970382"},"directories":{}},"2.0.3":{"name":"npm-install-webpack-plugin-cn","version":"2.0.3","description":"Webpack loader to automatically npm install & save dependencies.","main":"index.js","files":["src"],"scripts":{"changelog":"npm run changelog:generate && npm run changelog:add","changelog:add":"git add CHANGELOG.md","changelog:generate":"github_changelog_generator --future-release $npm_package_version","coverage":"npm test && nyc report --reporter=text-lcov | coveralls","postversion":"npm run version:amend && git push origin master --tags && npm publish","test":"NODE_ENV=test nyc mocha","version":"npm run changelog","version:amend":"git commit --amend -m \"Release v${npm_package_version}\""},"repository":{"type":"git","url":"git+https://github.com/ericclemmons/npm-install-webpack-plugin.git"},"keywords":["webpack","webpack-plugin","npm","install"],"author":{"name":"Eric Clemmons","email":"eric@smarterspam.com"},"license":"MIT","bugs":{"url":"https://github.com/ericclemmons/npm-install-webpack-plugin/issues"},"homepage":"https://github.com/ericclemmons/npm-install-webpack-plugin#readme","dependencies":{"cross-spawn":"^2.1.4","lodash.kebabcase":"^3.1.0","which":"^1.2.4"},"devDependencies":{"coveralls":"^2.11.6","expect":"^1.13.4","mocha":"^2.3.4","nyc":"^5.3.0"},"gitHead":"f3bf5c35102e95c9006481c0f86300e9467e9a3c","_id":"npm-install-webpack-plugin-cn@2.0.3","_shasum":"3630c197b9d039cdb2f78e9dd2715ba34a20e638","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"dist":{"shasum":"3630c197b9d039cdb2f78e9dd2715ba34a20e638","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/npm-install-webpack-plugin-cn/-/npm-install-webpack-plugin-cn-2.0.3.tgz"},"maintainers":[{"name":"sorrycc","email":"sorrycc@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/npm-install-webpack-plugin-cn-2.0.3.tgz_1457073346263_0.8688706031534821"},"directories":{}},"2.0.4":{"name":"npm-install-webpack-plugin-cn","version":"2.0.4","description":"Webpack loader to automatically npm install & save dependencies.","main":"index.js","files":["src"],"scripts":{"changelog":"npm run changelog:generate && npm run changelog:add","changelog:add":"git add CHANGELOG.md","changelog:generate":"github_changelog_generator --future-release $npm_package_version","coverage":"npm test && nyc report --reporter=text-lcov | coveralls","postversion":"npm run version:amend && git push origin master --tags && npm publish","test":"NODE_ENV=test nyc mocha","version":"npm run changelog","version:amend":"git commit --amend -m \"Release v${npm_package_version}\""},"repository":{"type":"git","url":"git+https://github.com/ericclemmons/npm-install-webpack-plugin.git"},"keywords":["webpack","webpack-plugin","npm","install"],"author":{"name":"Eric Clemmons","email":"eric@smarterspam.com"},"license":"MIT","bugs":{"url":"https://github.com/ericclemmons/npm-install-webpack-plugin/issues"},"homepage":"https://github.com/ericclemmons/npm-install-webpack-plugin#readme","dependencies":{"cross-spawn":"^2.1.4","lodash.kebabcase":"^3.1.0","which":"^1.2.4"},"devDependencies":{"coveralls":"^2.11.6","expect":"^1.13.4","mocha":"^2.3.4","nyc":"^5.3.0"},"gitHead":"dac1a15a5e7a561ace43d1463d18cfeacc3549c5","_id":"npm-install-webpack-plugin-cn@2.0.4","_shasum":"0e4f8aad7fb7711ddcc36ba6e55d9f5dadd94728","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"sorrycc","email":"sorrycc@gmail.com"},"dist":{"shasum":"0e4f8aad7fb7711ddcc36ba6e55d9f5dadd94728","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/npm-install-webpack-plugin-cn/-/npm-install-webpack-plugin-cn-2.0.4.tgz"},"maintainers":[{"name":"sorrycc","email":"sorrycc@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/npm-install-webpack-plugin-cn-2.0.4.tgz_1457074189228_0.8832734110765159"},"directories":{}}},"name":"npm-install-webpack-plugin-cn","time":{"modified":"2016-03-04T06:49:52.483Z","created":"2016-03-04T02:59:05.686Z","2.0.2":"2016-03-04T02:59:05.686Z","2.0.3":"2016-03-04T06:35:51.433Z","2.0.4":"2016-03-04T06:49:52.483Z"},"readmeFilename":"README.md","homepage":"https://github.com/ericclemmons/npm-install-webpack-plugin#readme"}