{"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://registry-npm.ywwl.com/npm-install-webpack-plugin-cn/download/npm-install-webpack-plugin-cn-2.0.2.tgz","integrity":"sha512-QlKFSg2paK9OhBTfqDpFIklbL5+YRYQ7xmKEmQAyY50wfLEpmQKif2ugRFNFY1LBTCyIempBWom1elUd0yEzvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCE6pZu0vGhzKmMLlymb87rlchCr4ywF8Xe7eWjWFQSpAIgOi/7ZVqn11pA8NMWzIxZIQrZY/EpnCPLx1KutHNJOeA="}],"size":4680,"noattachment":false,"key":"/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":{},"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","publish_time":1457060345686,"_cnpm_publish_time":1457060345686,"dist-tags":{"latest":"2.0.4"}}