{"name":"webpack-md5-hash","version":"0.0.4","description":"Plugin to replace a standard webpack chunkhash with md5.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/erm0l0v/webpack-md5-hash.git"},"keywords":["webpack","hash","plugin","md5"],"author":{"name":"Kirill Ermolov"},"license":"MIT","bugs":{"url":"https://github.com/erm0l0v/webpack-md5-hash/issues"},"homepage":"https://github.com/erm0l0v/webpack-md5-hash","dependencies":{"md5":"^2.0.0"},"gitHead":"adf22c4716e9112a9e5ce6c02f96c46ec5f97d7b","_id":"webpack-md5-hash@0.0.4","_shasum":"9c690480867e584f345dd11ba85b5833883e908d","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"erm0l0v","email":"erm0l0v@ya.ru"},"dist":{"shasum":"9c690480867e584f345dd11ba85b5833883e908d","tarball":"http://registry-npm.ywwl.com/webpack-md5-hash/download/webpack-md5-hash-0.0.4.tgz","integrity":"sha512-YpBOtO2Fg0vZ95/cf4rcempAT7DYGengKGSVmsmCvvLJ0nlAYO6xDRkjEGmtH+etF0lYYCfkKxEduyTIfr3oQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPSTh0FOU649Pjwqi2XT7YhWxGC1gmLHvWnugHt7/38AIgRboWYnikpI6awFVcbrtMC27GjGcw3D0Qdm7CKGCqRFM="}],"size":6518,"noattachment":false,"key":"/webpack-md5-hash/-/webpack-md5-hash-0.0.4.tgz"},"maintainers":[{"name":"erm0l0v","email":"erm0l0v@ya.ru"}],"directories":{},"readme":"# webpack-md5-hash\n\n[![NPM](https://nodei.co/npm/webpack-md5-hash.png)](https://npmjs.org/package/webpack-md5-hash)\n\nPlugin to replace a standard webpack chunkhash with md5.\n\n## Installation\n\n```\nnpm install webpack-md5-hash --save-dev\n```\n\n## Usage\n\nJust add this plugin as usual.\n\n``` javascript\n\n// webpack.config.js\n\nvar WebpackMd5Hash = require('webpack-md5-hash');\n\nmodule.exports = {\n    // ...\n    output: {\n        //...\n        chunkFilename: \"[chunkhash].[id].chunk.js\"\n    },\n    plugins: [\n        new WebpackMd5Hash()\n    ]\n};\n\n```\n\n## Development\n\n### Setup Docker\n\n* Install [Docker Toolbox](https://www.docker.com/docker-toolbox)\n* Setup [Docker Machine](https://docs.docker.com/machine/get-started/)\n\n### Generate Docker files\n\n* Change versions on node and webpack in *versions.json*\n* Run `./build.js gen_docker` to generate files\n\n### Run tests\n\n* Build Docker images `docker-compose build`\n* Run tests `docker-compose up` or `docker-compose up | grep exited`\n\n### Run tests for specific environment\n\n> Example: you need test code on node v0.12 and webpack v1.8\n\n* Build image `docker-compose build test_n_0.12_w_1.8`\n* Run tests `docker-compose run --rm test_n_0.12_w_1.8`\n\nAnd now instead of standard value of chunkhash you'll get a md5 based on chunk's modules.\n","publish_time":1440432611901,"_cnpm_publish_time":1440432611901,"dist-tags":{"latest":"0.0.6"}}