{"_id":"@4c/unused-files-webpack-plugin","_rev":"5-223e5db3fc7d2a818ac93a01a6a7b54e","name":"@4c/unused-files-webpack-plugin","dist-tags":{"latest":"4.0.0"},"versions":{"4.0.0":{"name":"@4c/unused-files-webpack-plugin","version":"4.0.0","description":"Glob all files that are not compiled by webpack under webpack's context","license":"MIT","author":{"name":"tomchentw","email":"developer@tomchentw.com","url":"https://github.com/tomchentw"},"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/unused-files-webpack-plugin.git"},"bugs":{"url":"https://github.com/4Catalyzer/unused-files-webpack-plugin/issues"},"homepage":"https://github.com/4Catalyzer/unused-files-webpack-plugin/","main":"index.js","keywords":["unused","redundancy","files","require","webpack","webpack-plugin"],"scripts":{"test":"jest","release":"standard-version -m 'chore(release): %s \n\n* CHANGELOG: https://github.com/4Catalyzer/unused-files-webpack-plugin/blob/v%s/CHANGELOG.md'"},"jest":{"testPathIgnorePatterns":["node_modules","fixtures"]},"publishConfig":{"access":"public"},"peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"glob-all":"^3.1.0"},"devDependencies":{"jest":"^24.9.0","memory-fs":"^0.4.1","prettier":"^1.18.2","rimraf":"^3.0.0","standard-version":"^4.3.0","webpack":"^4.0.0"},"gitHead":"8089efd0c4aa5ad46897b47a844b9c759b425894","_id":"@4c/unused-files-webpack-plugin@4.0.0","_nodeVersion":"10.15.3","_npmVersion":"6.10.2","dist":{"integrity":"sha512-LwbubCWfUZdpiwYprl+FQaXihVDestWVf9Gpa833CQc+ErNgGgb3RSnL02Lq4l90z0Gtc6lZFZHKnzQyKLhFLg==","shasum":"268182526faaf7afc5075f3c02995af3b0dd89ad","tarball":"https://registry.npmjs.org/@4c/unused-files-webpack-plugin/-/unused-files-webpack-plugin-4.0.0.tgz","fileCount":5,"unpackedSize":15746,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaUOJCRA9TVsSAnZWagAAgZUQAJAJO65gcRTBtD9PDHOJ\nt92Pbs0TJDKEUiu3cPiLFx78y5rndiYGqw9UCZKSP9GDFyxA2u5Z3T+IP23w\nvePt6p0mLU1Zw8Jyxi/9uc0f6Hhx9NsJsoAA6cGyiSptwmX5mwRwscJaWb9q\nwzmpTmOPqprh564mny1xaPm7Bmr+gHOlu4BUlwENNQMUdx6pz5z499Kh/Fmk\ns7FUPTp4uTNg1VTAfsuPri9h79+FWA7Cgseidc1+kmfaA1UypDc3LdqmOKPA\naDL++wWPyKDkmFxg9lPiMCQqSb+g/YTyFvgowrJkpRhTSMCmKEF1BUPVlocj\nsMT+gt2Z1M4ngz5crS78wOboxuKG0CFp4vu1+UxtKfJm+qzo3Rg+8+nQ2ys8\nzc5q/gowMq1bUT7En5zEcQNRiVbX1rIk30k0JUm9xUT3Rbw6EOivk7dj4Vs9\nMtY2CAwmaXRyRRDcR3ivIJ9orCtKKgMbM/dRjhCiZDleOzy2T3np7cqVur4V\n1Sh8PEqTSYurC70S7lNcj/qzyXeKIXxTKPlX4kc7tq4CN5P7Ko0JdAEV51Ym\nka8SwOWTumCE5rG8n/Rm0J93GVRd51PTi5L7ttcwRE0s89LL2+inHDyFGbrJ\njuFfbBp3I1WOpa828sxpSGsitoEvVpg13WwWy4pn9MY/cHlXkpLErLo+3Oir\nY8LF\r\n=cnzL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE7gl8fmGBLotgv/rgYGodIXHJoG25oy42vMvq+NmfRTAiBVqL+bcPy35LN0p79tPSZ2G9P7In2CAoIYJnEdXf5/cg=="}]},"maintainers":[{"name":"sloria","email":"sloria1@gmail.com"},{"name":"taion","email":"tesrin@gmail.com"},{"name":"monastic.panic","email":"monastic.panic@gmail.com"},{"name":"itajaja","email":"giacomo.tag@gmail.com"}],"_npmUser":{"name":"monastic.panic","email":"monastic.panic@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unused-files-webpack-plugin_4.0.0_1567179657268_0.6731020100945522"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-30T15:40:57.134Z","4.0.0":"2019-08-30T15:40:57.393Z","modified":"2022-04-08T14:00:59.688Z"},"maintainers":[{"email":"stephen.liu@alumni.stanford.edu","name":"stephen_liu"},{"email":"monastic.panic@gmail.com","name":"monastic.panic"},{"email":"sloria1@gmail.com","name":"sloria"}],"description":"Glob all files that are not compiled by webpack under webpack's context","homepage":"https://github.com/4Catalyzer/unused-files-webpack-plugin/","keywords":["unused","redundancy","files","require","webpack","webpack-plugin"],"repository":{"type":"git","url":"git+https://github.com/4Catalyzer/unused-files-webpack-plugin.git"},"author":{"name":"tomchentw","email":"developer@tomchentw.com","url":"https://github.com/tomchentw"},"bugs":{"url":"https://github.com/4Catalyzer/unused-files-webpack-plugin/issues"},"license":"MIT","readme":"# unused-files-webpack-plugin\n> Glob all files that are not compiled by webpack under webpack's context\n\n[![Version][npm-image]][npm-url] [![Travis CI][travis-image]][travis-url] [![Quality][codeclimate-maintainability-image]][codeclimate-maintainability-url] [![Coverage][codeclimate-c-image]][codeclimate-c-url] [![Dependencies][gemnasium-image]][gemnasium-url] [![Gitter][gitter-image]][gitter-url]\n\nInstall with npm:\n\n```bash\nnpm i --save-dev unused-files-webpack-plugin\n```\n\nInstall with yarn:\n\n```bash\nyarn add --dev unused-files-webpack-plugin\n```\n\n## Usage\n\n### `webpack.config.babel.js`\n\n```js\nimport UnusedFilesWebpackPlugin from \"unused-files-webpack-plugin\";\n\nexport default {\n  plugins: [\n    new UnusedFilesWebpackPlugin(options),\n  ],\n};\n```\n\n### `webpack.config.js`\n\n```js\nconst { UnusedFilesWebpackPlugin } = require(\"unused-files-webpack-plugin\");\n\nmodule.exports = {\n  plugins: [\n    new UnusedFilesWebpackPlugin(options),\n  ],\n};\n```\n\n\n## Options\n\n```js\nnew UnusedFilesWebpackPlugin(options)\n```\n\n### options.patterns\n\nThe (array of) pattern(s) to glob all files within the context.\n\n* Default: `[\"**/*.*\"]`\n* Directly pass to [`glob-all(patterns)`](https://github.com/jpillora/node-glob-all#api)\n\n### options.failOnUnused\n\nEmit _error_ instead of _warning_ in webpack compilation result.\n\n* Default: `false`\n* Explicitly set it to `true` to enable this feature\n\n### options.globOptions\n\nThe options object pass to second parameter of `glob-all`.\n\n* Default: `{ignore: \"node_modules/**/*\"}`\n* Directly pass to [`glob-all(pattern, globOptions)`](https://github.com/jpillora/node-glob-all#api), which then pass to [`glob(…, globOptions)`](https://github.com/isaacs/node-glob#options)\n\n#### globOptions.ignore\n\nIgnore pattern for glob. Can be a String or an Array of String.\n\n* Default: `\"node_modules/**/*\"`\n* Pass to: [`options.ignore`](https://github.com/isaacs/node-glob#options)\n\n#### globOptions.cwd\n\nCurrent working directory for glob. If you don't set explicitly, it defaults to the `context` specified by your webpack compiler at runtime.\n\n* Default: `webpackCompiler.context`\n* Pass to: [`options.cwd`](https://github.com/isaacs/node-glob#options)\n* See also: [`context` in webpack](https://webpack.js.org/configuration/entry-context/#context)\n\n\n## Contributing\n\n[![devDependency Status][david-dm-image]][david-dm-url]\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n\n[npm-image]: https://img.shields.io/npm/v/unused-files-webpack-plugin.svg?style=flat-square\n[npm-url]: https://www.npmjs.org/package/unused-files-webpack-plugin\n\n[travis-image]: https://img.shields.io/travis/tomchentw/unused-files-webpack-plugin.svg?style=flat-square\n[travis-url]: https://travis-ci.org/tomchentw/unused-files-webpack-plugin\n[codeclimate-maintainability-image]: https://img.shields.io/codeclimate/maintainability/tomchentw/unused-files-webpack-plugin.svg?style=flat-square\n[codeclimate-maintainability-url]: https://codeclimate.com/github/tomchentw/unused-files-webpack-plugin\n[codeclimate-c-image]: https://img.shields.io/codeclimate/c/tomchentw/unused-files-webpack-plugin.svg?style=flat-square\n[codeclimate-c-url]: https://codeclimate.com/github/tomchentw/unused-files-webpack-plugin\n[gemnasium-image]: https://img.shields.io/gemnasium/tomchentw/unused-files-webpack-plugin.svg?style=flat-square\n[gemnasium-url]: https://gemnasium.com/tomchentw/unused-files-webpack-plugin\n[gitter-image]: https://badges.gitter.im/Join%20Chat.svg\n[gitter-url]: https://gitter.im/tomchentw/unused-files-webpack-plugin?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n[david-dm-image]: https://img.shields.io/david/dev/tomchentw/unused-files-webpack-plugin.svg?style=flat-square\n[david-dm-url]: https://david-dm.org/tomchentw/unused-files-webpack-plugin#info=devDependencies\n\n","readmeFilename":"README.md"}