{"name":"lodash-webpack-plugin","version":"0.6.0","description":"Smaller modular Lodash builds.","keywords":["webpack-plugin","lodash","modules"],"repository":{"type":"git","url":"git+https://github.com/lodash/lodash-webpack-plugin.git"},"license":"MIT","main":"lib/index.js","author":{"name":"John-David Dalton","email":"john.david.dalton@gmail.com","url":"http://allyoucanleet.com/"},"contributors":[{"name":"John-David Dalton","email":"john.david.dalton@gmail.com","url":"http://allyoucanleet.com/"},{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com","url":"https://github.com/phated"},{"name":"Mathias Bynens","email":"mathias@qiwi.be","url":"https://mathiasbynens.be/"}],"scripts":{"build":"babel src --out-dir lib","prepublish":"npm run build","test":"mocha --check-leaks --slow 1e3 --compilers js:babel-core/register"},"dependencies":{"lodash":"^4.12.0"},"devDependencies":{"babel-cli":"^6.9.0","babel-core":"^6.9.0","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"~0.2.1","babel-plugin-lodash":"^3.1.4","babel-preset-es2015":"^6.9.0","bluebird":"^3.4.0","glob":"^7.0.3","gzip-size":"^3.0.0","memory-fs":"^0.3.0","mocha":"^2.4.5","webpack":"^1.13.0"},"babel":{"plugins":["babel-plugin-add-module-exports"],"presets":["es2015"]},"files":["lib/index.js","lib/listing.js","lib/mapping.js"],"gitHead":"a1b591d4ae33fde3987da39e0afeb25e8a632eeb","bugs":{"url":"https://github.com/lodash/lodash-webpack-plugin/issues"},"homepage":"https://github.com/lodash/lodash-webpack-plugin#readme","_id":"lodash-webpack-plugin@0.6.0","_shasum":"93e1d14f9980f4146d58e9a2b7a220e63ca3eabd","_from":".","_npmVersion":"2.15.5","_nodeVersion":"6.0.0","_npmUser":{"name":"jdalton","email":"john.david.dalton@gmail.com"},"dist":{"shasum":"93e1d14f9980f4146d58e9a2b7a220e63ca3eabd","tarball":"http://registry-npm.ywwl.com/lodash-webpack-plugin/download/lodash-webpack-plugin-0.6.0.tgz","integrity":"sha512-Dd1+TyDPSCwoWIdgl4NlFRzRMm1HruzeMFMr1TLjCgcWH42brsRDM2j+YlFoU672RFH47FmtPeudFaArMuXgTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDqmSeHm0yma2KX+Qc5rANOepZqdz4afzXYnv7ccciANAiEAiwAlgKlWfzC/kkhRvIBzr0FDV+GyzacaPUSUC9/zLmw="}],"size":3850,"noattachment":false,"key":"/lodash-webpack-plugin/-/lodash-webpack-plugin-0.6.0.tgz"},"maintainers":[{"name":"jdalton","email":"john.david.dalton@gmail.com"},{"name":"mathias","email":"mathias@qiwi.be"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/lodash-webpack-plugin-0.6.0.tgz_1463543987925_0.9310486000031233"},"directories":{},"readme":"# lodash-webpack-plugin\n\nCreate smaller Lodash builds by replacing [feature sets](#feature-sets) of modules\nwith [noop](https://lodash.com/docs#noop), [identity](https://lodash.com/docs#identity),\nor simpler alternatives.\n\nThis plugin complements [babel-plugin-lodash](https://www.npmjs.com/package/babel-plugin-lodash)\nby shrinking its cherry-picked builds even further!\n\nDISCLAIMER: Using this plugin without enabling the proper feature sets may cause lodash functions to behave in unexpected ways. Methods may appear to work, however they might return incorrect results.\n\n## Install\n\n```shell\n$ npm i --save lodash\n$ npm i --save-dev lodash-webpack-plugin babel-core babel-loader babel-plugin-lodash babel-preset-env webpack\n```\n\n## Example\n\n![demo](https://cloud.githubusercontent.com/assets/4303/15064867/2c5420b0-130e-11e6-8293-5037d359851f.gif)\n\n## Usage\n\n###### webpack.config.js\n```js\nvar LodashModuleReplacementPlugin = require('lodash-webpack-plugin');\nvar webpack = require('webpack');\n\nmodule.exports = {\n  'module': {\n    'rules': [{\n      'use': 'babel-loader',\n      'test': /\\.js$/,\n      'exclude': /node_modules/,\n      'options': {\n        'plugins': ['lodash'],\n        'presets': [['env', { 'modules': false, 'targets': { 'node': 4 } }]]\n      }\n    }]\n  },\n  'plugins': [\n    new LodashModuleReplacementPlugin,\n    new webpack.optimize.UglifyJsPlugin\n  ]\n};\n```\n\nOpt-in to features with an options object:\n```js\nnew LodashModuleReplacementPlugin({\n  'collections': true,\n  'paths': true\n});\n```\n\n## Feature Sets\n\nThe following features are removed by default _(biggest savings first)_:\n\n| Feature | Description |\n|:---|:---|\n| `shorthands`   | Iteratee shorthands for `_.property`, `_.matches`, & `_.matchesProperty`. |\n| `cloning`      | Support “clone” methods & cloning source objects. |\n| `currying`     | Support “curry” methods. |\n| `caching`      | Caches for methods like `_.cloneDeep`, `_.isEqual`, & `_.uniq`. |\n| `collections`  | Support objects in “Collection” methods. |\n| `exotics`      | Support objects like buffers, maps, sets, symbols, typed arrays, etc. |\n| `guards`       | Guards for host objects, sparse arrays, & other edge cases. |\n| `metadata`     | Metadata to reduce wrapping of bound, curried, & partially applied functions.<br>_(requires `currying`)_ |\n| `deburring`    | Support deburring letters. |\n| `unicode`      | Support Unicode symbols. |\n| `chaining`     | Components to support chain sequences. |\n| `memoizing`    | Support `_.memoize` & memoization. |\n| `coercions`    | Support for coercing values to integers, numbers, & strings. |\n| `flattening`   | Support “flatten” methods & flattening rest arguments. |\n| `paths`        | Deep property path support for methods like `_.get`, `_.has`, & `_.set`. |\n| `placeholders` | Argument placeholder support for “bind”, “curry”, & “partial” methods.<br>_(requires `currying`)_ |\n","publish_time":1463543992313,"_cnpm_publish_time":1463543992313,"dist-tags":{"latest":"0.11.6"}}