{"name":"webpack-md5-hash","version":"0.0.6","description":"Plugin to replace a standard webpack chunkhash with md5.","main":"index.js","scripts":{"clean":"rimraf dist","pretest":"jshint","test":"jasmine-node --captureExceptions spec"},"repository":{"type":"git","url":"git+https://github.com/erm0l0v/webpack-md5-hash.git"},"keywords":["webpack","hash","plugin","md5"],"author":{"name":"Kirill Ermolov"},"contributors":[{"name":"Sebastien Dubois","email":"seb@dsebastien.net","url":"https://www.dsebastien.net"}],"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"},"devDependencies":{"argparse":"^1.0.4","jasmine-node":"^1.14.5","jshint":"^2.8.0","rimraf":"^2.5.0"},"gitHead":"d760f4847a310ac9fd4d25f125fcd5a70c4a5ae5","_id":"webpack-md5-hash@0.0.6","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"erm0l0v","email":"erm0l0v@ya.ru"},"dist":{"integrity":"sha512-HrQ0AJpeXHRa3IjsgyyEfTx8EqYs5y/4x/WklSYsNDcqBixHzCkrmJV5U+4ks+sx7ycKoIdqWLdyuk913FCS+Q==","shasum":"317b766a0a724eb5501610b3c8f4cddc4edf70f5","tarball":"http://registry-npm.ywwl.com/webpack-md5-hash/download/webpack-md5-hash-0.0.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2Z4OF87Uwtk+7rBdxdgb9QOsvCneR5BAnEoAbxWQd2QIgX2oQiH1EVQO6OvGWgRFFuP6S9flfVnt8S38F9XM1UiA="}],"size":5281,"noattachment":false,"key":"/webpack-md5-hash/-/webpack-md5-hash-0.0.6.tgz"},"maintainers":[{"name":"erm0l0v","email":"erm0l0v@ya.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-md5-hash-0.0.6.tgz_1512030082403_0.15869798278436065"},"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":1512030083315,"_cnpm_publish_time":1512030083315,"dist-tags":{"latest":"0.0.6"}}