{"name":"rewire-webpack","version":"0.0.1","description":"Dependency injection for webpack bundles","keywords":["dependency","injection","mock","unit","test","leak","webpack","browser","inspect"],"author":{"name":"Johannes Ewald","email":"mail@johannesewald.de"},"main":"lib/RewirePlugin.js","homepage":"https://github.com/jhnns/rewire-webpack","repository":{"type":"git","url":"git://github.com/jhnns/rewire-webpack.git"},"engines":{"node":"0.x"},"dependencies":{"webpack":"0.x","enhanced-resolve":"0.x","rewire":"1.x"},"devDependencies":{"mocha":"1.x","expect.js":"0.x","mocha-loader":"0.x","webpack-dev-server":"0.x"},"scripts":{"test":"node node_modules/webpack-dev-server/bin/webpack-dev-server.js --config ./test/webpack.config.js"},"bugs":{"url":"https://github.com/jhnns/rewire-webpack/issues"},"_id":"rewire-webpack@0.0.1","dist":{"shasum":"a3e8494239a73b2b9c8fd5a4c56fb8ef8ddededf","tarball":"http://registry-npm.ywwl.com/rewire-webpack/download/rewire-webpack-0.0.1.tgz","integrity":"sha512-p4mgl5kGb/DJNU+v/f+o7AWNVQgqkqlCf+uc/88NHlgfY6sdVLpdhpoVxzdJIfl0Lkc82QDYvfRl/w7r6TCPqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSs+kAuH3uJ+cAMONPQWfMjshQLl9pm0OME0ToTtuWGQIgXQT2sUqlqD0gZjMEdfYZBRE2WUGlJXKCM8i9JXKN5Qg="}],"size":4378,"noattachment":false,"key":"/rewire-webpack/-/rewire-webpack-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.1","_npmUser":{"name":"jhnns","email":"mail@johannesewald.de"},"maintainers":[{"name":"jhnns","email":"mail@johannesewald.de"}],"directories":{},"readme":"rewire-webpack\r\n=====\r\n**Use [rewire](https://github.com/jhnns/rewire) in webpack bundles**.\r\n\r\n[![Dependency Status](http://david-dm.org/jhnns/rewire-webpack/status.svg)](http://david-dm.org/jhnns/rewire-webpack)\r\n\r\nThis is a plugin that enables [rewire](https://github.com/jhnns/rewire) for client-side bundles generated by [webpack](https://github.com/webpack/webpack).\r\n\r\n[![npm status](https://nodei.co/npm/rewire-webpack.svg?downloads=true&stars=true)](https://npmjs.org/package/rewire-webpack)\r\n\r\n<br />\r\n\r\nInstallation\r\n------------\r\n\r\n`npm install rewire-webpack`\r\n\r\nand then add the RewirePlugin to the webpack config:\r\n\r\n```javascript\r\nvar RewirePlugin = require(\"rewire-webpack\");\r\nvar webpackConfig = {\r\n    plugins: [\r\n        new RewirePlugin()\r\n    ]\r\n};\r\n```\r\n\r\nAfter that you can use `rewire()` in your client-side bundles as usual.\r\n\r\n<br />\r\n\r\nContribution\r\n------------\r\n\r\nThanks to [sokra](https://github.com/sokra) who wrote most of the code. :)\r\n\r\n<br />\r\n\r\nLicense\r\n-------\r\n\r\n[Unlicense](http://unlicense.org/)","publish_time":1380833616415,"_cnpm_publish_time":1380833616415,"dist-tags":{"latest":"1.0.1"}}