{"_id":"@bundles/bundles-filters","_rev":"8-7b3793ebe684bf891691cdefef5a0caf","name":"@bundles/bundles-filters","dist-tags":{"dev":"0.2.1","latest":"0.2.1"},"versions":{"0.0.1":{"name":"@bundles/bundles-filters","version":"0.0.1","description":"A bundler plugin for Bundles which allows you to create a series of dynamic filters to run through other bundlers.","keywords":["brikcss","bundles","bundler","filters"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-filters","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-filters.git"},"bugs":{"url":"https://github.com/brikcss/bundles-filters/issues"},"main":"./lib/bundles-filters.min.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest","watch":"jest --watchAll"},"devDependencies":{"@brikcss/git-hooks":"^2.1.0","@node-minify/cli":"^4.1.0","@node-minify/uglify-es":"^4.0.5","codacy-coverage":"^3.3.0","coveralls":"^3.0.2","jest":"^24.0.0","semantic-release":"^15.12.0"},"dependencies":{"@bundles/core":"^0.2.5","micromatch":"^3.1.10"},"gitHead":"4c7e91ef5c0eeb605f6977f4e495ab63ad487a47","_id":"@bundles/bundles-filters@0.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-hF5O7KEu5Yd3PFf3sE94t0wwk+npjtA+qQNC/10ND3kt/cf3HO3xUNrPmZidkijkqJrSnRRo5OykTmSz+6P3zw==","shasum":"7f06b6361b3b5cbb0ff523d2e18c3ca5b4968c5a","tarball":"https://registry.npmjs.org/@bundles/bundles-filters/-/bundles-filters-0.0.1.tgz","fileCount":4,"unpackedSize":11535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcU4iOCRA9TVsSAnZWagAA4V8P/3DJZqZK1odRB9G+lOQm\n81tDvEsTIAchIo4IGZMxmcLyDFbiRyERSj5En72AretVCFZ7N3khl0Jtd5iY\nw6o1jDGtsleWEgSAcpTRCGin2hpyU68eYkVQuCGcXUHszxzUrBayydOnTH2s\nb/H6L3g+qdJPzM9dLBgB9sm8eTGiyP07pScZe5SGjIytRBKz/7enLGyqvAcq\nuMXwdup0eGPA6o5MIDrSUy3fDUQoR1LZopHyAe0ZofckOQZL+A7uiC9+DGXk\nJ5snR+8Cap56gLwml00y8VPrMudM8C+rf3klEYBo0sGBZf65ZbyHv5OZuXZp\nv/05MtS/yq8R32EpN/GsMg7k+xa77bh/SPkhg3tgN1HDO3xp8s+jaWq2ylbj\n8RtmWzNJtbdaZD6BMZWC7hzXJmu5V6svQuvhfe/Ay0h7nuHz7tpay7e8Nxrl\nWQrRc1JJzhFzE2rnoxjx4Dl8ZxoN96+iFNGJDIRNVv9EI+ewdiI4JskBMOtQ\nwATFQAHvj08YrRtDYQuZTNMvZOrmMgUF17IefRHcXmYO98HQtJ7FHhdrGnaP\n6SRCkECstpohZ/ui7dnoisrNY6epqvKEsT4udTSbTEYrTBCTvw/uIXgVEKdn\nNbr8GcCpgngPjtIz1DIMn4SU1e0BiHRGdK1IC+1x0Wq1vmtg8d1W2j0mFcer\nR8A4\r\n=LRVS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD874Aij2d/JdnOsNggWEOepT7UyFSMO9b1hVAwjEqoMAIhAPri+iwLVE7jT47npLguhE/l9PD9yAl7ISG69ni3k8PZ"}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-filters_0.0.1_1548978317213_0.4685820631740696"},"_hasShrinkwrap":false},"0.0.2":{"name":"@bundles/bundles-filters","version":"0.0.2","description":"A bundler plugin for Bundles which allows you to create a series of dynamic filters to run through other bundlers.","keywords":["brikcss","bundles","bundler","filters"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-filters","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-filters.git"},"bugs":{"url":"https://github.com/brikcss/bundles-filters/issues"},"main":"./lib/bundles-filters.min.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest","watch":"jest --watchAll"},"devDependencies":{"@brikcss/git-hooks":"^2.1.0","@node-minify/cli":"^4.1.0","@node-minify/uglify-es":"^4.0.5","codacy-coverage":"^3.3.0","coveralls":"^3.0.2","jest":"^24.0.0","semantic-release":"^15.12.0"},"dependencies":{"@bundles/core":"^0.2.5","micromatch":"^3.1.10"},"gitHead":"0858d2da75baf76eac86c23b3597ace79bf82d74","_id":"@bundles/bundles-filters@0.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-EPbbt3jPZkDpgJ+nag3H6o1gWkqkpuTY5xHM36uwOUss2G6NETm74qZ2SjnXGdxwgfcBV+jn7B00GQpTamRJbQ==","shasum":"235c5726bca28803695f7b1172432904bb66ba0d","tarball":"https://registry.npmjs.org/@bundles/bundles-filters/-/bundles-filters-0.0.2.tgz","fileCount":4,"unpackedSize":11548,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcU4m1CRA9TVsSAnZWagAAp5kP/2S/ZIk+JrP51SfeLb+9\n4d1xyv+Vpn48wwRVRtaIaEcyBBm+fms9+OW+Y+3lIuIOxurOTvoKodQLVWtm\nJ2R5hK261eQXgAfZ9s5eW063maTIv729u1VM87uHhX549UI1kByvjIgn34AS\nqX8xhWQjTrmgZ0dadQrhnRgqhrYSG+vqX0Y/XC1TB3A87oNbIJmySjVYDtUg\nH4o+ZpYzDYq98qIPbOAWYG735+Q32RxJh8d1JHO6ME7A9a4U6reyYu4jNdLj\nM/8yjZBiMnO95Q5fDExgsJvv07JgqHqw24fLAyRM1i0vHSO62l09velM6y07\nR4cn4wh1uK0Ia2XUBcMVeKzcyPkRUo/sSHxUopRgAF4XaHr220CZ+rXgdmSx\ndHX6pLGbqO0nRVpY63XHxVMjBrb8KV95O5HCim9DvaNuzdt7degKMQzM4yhR\nivIflBffPu2BFgZAqGjgiWeLG+NPKkf7AkqAYpE+3OotGeekcxE8C2oMoSzo\nDF0CByVZyYB+uBGzVEoCDONMz9RMBaP/7bD31zYMWF1hkvFSOKCqFgBoJURQ\nrwdosaQQ0AoqlGujRscB5Cwu6Ro2Mn0UH47n+Mqkt/YOnoNKCfjPhgSvbZGZ\n7ztjSCMbN4wK4OTGuXUQdhCHQxjXBZXROdafnCLiZCTZLrsiHZeF9Q8IJO0O\nz6Bg\r\n=5ylZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFTQEyLYwphEQB2csuxuPgmO2tZBqnfDQQS3M1dXioOAIhANdTi0h1R7fjRMW6Chl6cRrS/VnKbBibvncOwcJYTSVB"}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-filters_0.0.2_1548978612533_0.989910820463412"},"_hasShrinkwrap":false},"0.0.3":{"name":"@bundles/bundles-filters","version":"0.0.3","description":"A bundler plugin for Bundles which allows you to create a series of dynamic filters to run through other bundlers.","keywords":["brikcss","bundles","bundler","filters"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-filters","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-filters.git"},"bugs":{"url":"https://github.com/brikcss/bundles-filters/issues"},"main":"./lib/bundles-filters.js","module":"./module/bundles-filters.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","pretest":"npm run build","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest --config=.jestrc.js","prebuild":"npx rimraf {lib,module}","build":"rollup --config=.rolluprc.js","watch":"npx concurrently \"npm run unit -- --watchAll\" \"npm run build -- --watch\""},"devDependencies":{"@babel/preset-env":"^7.3.1","@brikcss/git-hooks":"^2.1.0","codacy-coverage":"^3.3.0","coveralls":"^3.0.2","jest":"^24.0.0","rollup":"^1.1.2","rollup-plugin-babel":"^4.3.2","rollup-plugin-terser":"^4.0.4","semantic-release":"^15.12.0"},"dependencies":{"@bundles/core":"^0.2.5","micromatch":"^3.1.10"},"gitHead":"1bc84750fccf032d938137630511330e764dcbc2","readme":"# Bundles Filters Bundler\n\n<!-- Shields. -->\n<p>\n    <!-- NPM version. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-filters\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@bundles/bundles-filters.svg?style=flat-square\"></a>\n    <!-- NPM downloads/month. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-filters\"><img alt=\"NPM downloads per month\" src=\"https://img.shields.io/npm/dm/@bundles/bundles-filters.svg?style=flat-square\"></a>\n    <!-- Travis branch. -->\n    <a href=\"https://github.com/brikcss/bundles-filters/tree/master\"><img alt=\"Travis branch\" src=\"https://img.shields.io/travis/rust-lang/rust/master.svg?style=flat-square&label=master\"></a>\n    <!-- Codacy. -->\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-filters\"><img alt=\"Codacy code grade\" src=\"https://img.shields.io/codacy/grade/894fa451daf842ea98aac96393484360/master.svg?style=flat-square\"></a>\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-filters\"><img alt=\"Codacy coverage\" src=\"https://img.shields.io/codacy/coverage/894fa451daf842ea98aac96393484360/master.svg?style=flat-square\"></a>\n    <!-- Coveralls -->\n    <a href='https://coveralls.io/github/brikcss/bundles-filters?branch=master'><img src='https://img.shields.io/coveralls/github/brikcss/bundles-filters/master.svg?style=flat-square' alt='Coverage Status' /></a>\n    <!-- JS Standard style. -->\n    <a href=\"https://standardjs.com\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square\"></a>\n    <!-- Prettier code style. -->\n    <a href=\"https://prettier.io/\"><img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"></a>\n    <!-- Semantic release. -->\n    <a href=\"https://github.com/semantic-release/semantic-release\"><img alt=\"semantic release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\"></a>\n    <!-- Commitizen friendly. -->\n    <a href=\"http://commitizen.github.io/cz-cli/\"><img alt=\"Commitizen friendly\" src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\"></a>\n    <!-- MIT License. -->\n    <a href=\"https://choosealicense.com/licenses/mit/\"><img alt=\"License\" src=\"https://img.shields.io/npm/l/express.svg?style=flat-square\"></a>\n    <!-- Greenkeeper. -->\n    <a href=\"https://greenkeeper.io/\"><img src=\"https://badges.greenkeeper.io/brikcss/bundles-filters.svg?style=flat-square\" alt=\"Greenkeeper badge\"></a>\n</p>\n\nThis is a bundler plugin for use with [Bundles](https://github.com/brikcss/bundles-core) which filters files for use with other bundlers.\n\n## Environment support\n\n| Node | CLI | ES Module | Browser | UMD |\n| :--: | :-: | :-------: | :-----: | :-: |\n|  ✓   |  ✓  |     ✓     |    x    |  x  |\n\n## Install\n\nMake sure [Bundles is installed](https://github.com/brikcss/bundles-core#install).\n\n```sh\nnpm install @bundles/bundles-filters -D\n```\n\n## Usage\n\nSee [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for details on configuring Bundles and bundlers.\n\n### `filters`\n\n`filters` is the only configuration option. It allows you to create one or more `filter`s, each which do one of the following:\n\n1. _Permanently_ remove specified output files from `bundle.output`.\n2. Run a series of bundlers on a _temporarily_ filtered subset of output files from `bundle.output`. _NOTE: This does not remove anything from `bundle.output`, the filter only applies temporarily while the configured bundlers run._\n\n### `filter`\n\n**Properties:**\n\n- `pattern` **{String|String[]|Function}** _(required)_ Use glob pattern(s) to test against each input source path. If the path matches, it will be included in the filter. Or you may pass a custom Function for more flexibility. Custom functions receive `file`, `bundle`, and `micromatch` as parameters, and must return a Boolean to tell Bundles if a file should be added to the filter. For example:\n  ```js\n  function myCustomFilter(file, { bundle, micromatch: mm }) {\n    // Return `true` to add to filter.\n    return true;\n  }\n  ```\n- `type` **{string}** _Default: `'some'`_ [micromatch](https://github.com/micromatch/micromatch) is used to test filter patterns. By default, the `micromatch.some()` method is used to test. You may tweak the behavior to your liking by passing `'every'`, `'any'`, `'all'`, `'not'`, or `'contains'` to use the corresponding micromatch method.\n- `options` **{Object}** Options passed directly to [micromatch](https://github.com/micromatch/micromatch).\n- `reverse` **{Boolean}** When true, files that do NOT match `filter.pattern` will be added to the filter.\n- `bundlers` **{Object[]}** When this property exists, files that match the filter will be run through these bundlers. This is useful to run certain bundlers only on a subset of a larger grouping of files. The `bundlers` property can be configured exactly like bundlers in `bundle.bundlers`. See [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for more details.\n\n### Example:\n\n```js\nconst bundle = {\n  input: [...],\n  bundlers: [\n    {\n      run: require('@bundles/bundles-filters'),\n      filters: [\n        {\n          // These files will be removed permanently.\n          pattern: ['!*.yaml'],\n        },\n        {\n          // All other filters will run their matching subset of files through\n          // the configured bundlers, after which the original `bundle.output`\n          // (minus the removed files) is restored.\n          pattern: ['{one,two,three}.md'],\n          bundlers: [markdown, footer],\n        },\n        {\n          pattern: ['*.css'],\n          bundlers: [css],\n        },\n        {\n          pattern: ['*.{css,js}', '!three.js'],\n          bundlers: [banner, footer],\n        },\n        {\n          pattern: ['*.json'],\n          bundlers: [json],\n        },\n      ],\n    },\n  ];\n}\n```\n","readmeFilename":"README.md","_id":"@bundles/bundles-filters@0.0.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-WDus+T18C6IPt+PUQGvrjIZk1SKlW7e+h8p0DV8Ga0HgA51fAugFHKoYs/0Vo5I3bsngGmbmndCogOcYWsiE+g==","shasum":"7040393dd05bd0179587e057ccf915731cdaf6f1","tarball":"https://registry.npmjs.org/@bundles/bundles-filters/-/bundles-filters-0.0.3.tgz","fileCount":4,"unpackedSize":10466,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW2ULCRA9TVsSAnZWagAAMBIP/1gp0ZgND5Jl/p7qHd75\nDr54Dyu3i+k8+FPnwzsVArCjktXiCGTLkzATkRefboE5YlbWTJ1Hx0AIh1IY\n8t91e5hjnNZIAn043PWUtgwiEbrg9stY/QCHgaf7YagUb35O0qKoYOQ3FzeG\nI6PwRqbrX01dpyzaJFxqo9KVZRmU7oe/s4C0RXeF2B3qJ71vtheCdZeDxYuW\nXlO82OKmQ+UMECPvbrlt6a91RpXd/EHSkQr3SeAp33vCjuXR+h0HsCW/ULBD\nPnvjOHQnBiSJuvtCK7aNN+d9FcpUEPasHWszC4df0ybZoj9fpcAInj90pEHD\nEjZzarYMK3LHgPHu394F13KW4B0HOP8CvBSDc1GUdCrW3kGA4b2BzGRbhzV1\nDm4CcbLAobrTO+XbyIvgMzMg7xO2Iqx5EYhliVuUDNxu5fHLZL7rFahwGHLr\n/OckXdceIpk2DHeIIetZ6YG1AjHLONjWAgkDY19KgCwPk6Wb6kcnVJesHJ+S\nI1tCTKxA2eFDckqoKtvq30ckUSH/fP9cggBmEDBpFaLmBsHJApq9b5DHhKsh\nxOb0bBUpPGko4sOALZ3Le+1fhX3jgIi4De232Yvsakj8ckgC35s+vryhnB1U\nUzoNPyA7O2aa9qlk9b7cyNcrSEotvnGfXngjIvycna6tAZAHnznRPYXFYgmA\nvcMQ\r\n=Ajrk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkrFM87TtL1xnnuQW6CTmN5WcvI9iVyno/+vgt9VGX3wIhAL4ddfe31jKs3YN5GoYsAEjPatO/7DHVXZaMw++/9O2q"}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-filters_0.0.3_1549493515056_0.09886678632326285"},"_hasShrinkwrap":false},"0.2.0":{"name":"@bundles/bundles-filters","version":"0.2.0","description":"A bundler plugin for Bundles which allows you to create a series of dynamic filters to run through other bundlers.","keywords":["brikcss","bundles","bundler","filters"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-filters","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-filters.git"},"bugs":{"url":"https://github.com/brikcss/bundles-filters/issues"},"main":"./lib/bundles-filters.js","module":"./module/bundles-filters.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","pretest":"npm run build","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest --config=.jestrc.js","prebuild":"rimraf {lib,module}","build":"rollup --config=.rolluprc.js","watch":"concurrently \"npm run unit -- --watchAll\" \"npm run build -- --watch\""},"devDependencies":{"@babel/preset-env":"^7.3.1","@brikcss/git-hooks":"^2.1.2","codacy-coverage":"^3.3.0","concurrently":"^4.1.0","coveralls":"^3.0.2","jest":"^24.0.0","rimraf":"^2.6.3","rollup":"^1.1.2","rollup-plugin-babel":"^4.3.2","rollup-plugin-terser":"^4.0.4"},"dependencies":{"@bundles/core":"^0.9.1","micromatch":"^4.0.2"},"gitHead":"199c3f2a53be861859ec0a91cfb3f3e83a9d960a","_id":"@bundles/bundles-filters@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-qOQl6zKER7OKpMQjo0jazA3Lfe/G7i/Kz9chAiIwgq0RAwdyoRTafckGMB44FMnDgR44v6q+GTCC8wPYW9YSWA==","shasum":"6816fd8397639ab26ffb1e27405f9a87b7cc4232","tarball":"https://registry.npmjs.org/@bundles/bundles-filters/-/bundles-filters-0.2.0.tgz","fileCount":4,"unpackedSize":10449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4I7NCRA9TVsSAnZWagAA0FcP/j5WfyXG3pyy8OANCn8U\njVSJK3Tv602mX9T0g5Y7NyXoErvn/n3YvCcASn2CxaIUkfKVA6HRkNWS9S42\nvjPpqwGkQUZbvdAZYkDXTzKSzUOShOe1X2teyC8nfG2m9T7GPvRNEvil1c6r\nhIWxhCKRHoF2mmOLRHL7pUhGlI7ePwS5U0NxD0Uo2kZqZSWdWSL3SVEoXuyl\nsXrwmHufDiAbT79isO35eTT7o6PJ7OqrtlfRrJcU5yIpb6wjZKxtsDCZxpjw\n5imdUye7GvghDt7nD8NEvj9KU19TlwFRYUL4ZnEjhDQ534dtLF5aVPdDcG34\n9Uk/3RUqOzbI39VO8R+FprluaTDYkNT6h2vZABZkmThlZfg67eo4dmtYqYSD\nWqK4YvcDHQYS9rxiLp/U0YthwSu3O5TqFJtZZQHLCmdq9yKAhW/Pl22dE7sX\nP7rTwd0Lf4/noxftpS52g2yxm2VECmqkaCgdp/F6YH/SM3XOb05xWFysyRzq\nM2yWVzOobYnFRDY3HyBWh6ps9bhr+m6043lQGw7tw176AHlX/HM6IsZ6ZqDl\n0LH48ChtNL2GfRUTW0YASCHem1Z9IsI+OSv1NKicZmXSiVWjjub1jvvWWWMt\n3K7Xov1YwXb3VDsJY+vafVT3muFBJxV7JOGFE5wpJUBIxDklnuGFxLQYz7lH\ntrWx\r\n=GF7o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIENn8XzXF28IyrzWU/H+T3mvk2pnoeTJ/ogGNgx+tU7nAiAau+paizu6/dtn6u2eQouYvIMZaGCHVMyz8Y5XYbLX7g=="}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-filters_0.2.0_1558220492314_0.36501308485147543"},"_hasShrinkwrap":false},"0.2.1":{"name":"@bundles/bundles-filters","version":"0.2.1","description":"A bundler plugin for Bundles which allows you to create a series of dynamic filters to run through other bundlers.","keywords":["brikcss","bundles","bundler","filters"],"license":"MIT","author":{"name":"Brikcss","email":"https://github.com/brikcss"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"homepage":"https://github.com/brikcss/bundles-filters","repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-filters.git"},"bugs":{"url":"https://github.com/brikcss/bundles-filters/issues"},"main":"./lib/bundles-filters.js","module":"./module/bundles-filters.js","publishConfig":{"tag":"dev","access":"public"},"scripts":{"start":"npm run watch","pretest":"npm run build","test":"standard *.js && jest --coverage && cat coverage/lcov.info | coveralls && cat coverage/lcov.info | codacy-coverage","unit":"jest --config=.jestrc.js","prebuild":"rimraf {lib,module}","build":"rollup --config=.rolluprc.js","watch":"concurrently \"npm run unit -- --watchAll\" \"npm run build -- --watch\""},"devDependencies":{"@babel/preset-env":"^7.6.3","@brikcss/git-hooks":"^3.0.1","codacy-coverage":"^3.4.0","concurrently":"^5.0.0","coveralls":"^3.0.7","jest":"^24.9.0","rimraf":"^3.0.0","rollup":"^1.25.2","rollup-plugin-babel":"^4.3.3","rollup-plugin-terser":"^5.1.2"},"dependencies":{"@bundles/core":"^0.9.4","micromatch":"^4.0.2"},"gitHead":"cdf68485817611f99c4d0f3af18721fbad9b7d00","readme":"# Bundles Filters Bundler\n\n<!-- Shields. -->\n<p>\n    <!-- NPM version. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-filters\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@bundles/bundles-filters.svg?style=flat-square\"></a>\n    <!-- NPM downloads/month. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-filters\"><img alt=\"NPM downloads per month\" src=\"https://img.shields.io/npm/dm/@bundles/bundles-filters.svg?style=flat-square\"></a>\n    <!-- Travis branch. -->\n    <a href=\"https://github.com/brikcss/bundles-filters/tree/master\"><img alt=\"Travis branch\" src=\"https://img.shields.io/travis/rust-lang/rust/master.svg?style=flat-square&label=master\"></a>\n    <!-- Codacy. -->\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-filters\"><img alt=\"Codacy code grade\" src=\"https://img.shields.io/codacy/grade/894fa451daf842ea98aac96393484360/master.svg?style=flat-square\"></a>\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-filters\"><img alt=\"Codacy coverage\" src=\"https://img.shields.io/codacy/coverage/894fa451daf842ea98aac96393484360/master.svg?style=flat-square\"></a>\n    <!-- Coveralls -->\n    <a href='https://coveralls.io/github/brikcss/bundles-filters?branch=master'><img src='https://img.shields.io/coveralls/github/brikcss/bundles-filters/master.svg?style=flat-square' alt='Coverage Status' /></a>\n    <!-- JS Standard style. -->\n    <a href=\"https://standardjs.com\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square\"></a>\n    <!-- Prettier code style. -->\n    <a href=\"https://prettier.io/\"><img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"></a>\n    <!-- Semantic release. -->\n    <a href=\"https://github.com/semantic-release/semantic-release\"><img alt=\"semantic release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\"></a>\n    <!-- Commitizen friendly. -->\n    <a href=\"http://commitizen.github.io/cz-cli/\"><img alt=\"Commitizen friendly\" src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\"></a>\n    <!-- MIT License. -->\n    <a href=\"https://choosealicense.com/licenses/mit/\"><img alt=\"License\" src=\"https://img.shields.io/npm/l/express.svg?style=flat-square\"></a>\n    <!-- Greenkeeper. -->\n    <a href=\"https://greenkeeper.io/\"><img src=\"https://badges.greenkeeper.io/brikcss/bundles-filters.svg?style=flat-square\" alt=\"Greenkeeper badge\"></a>\n</p>\n\nThis is a bundler plugin for use with [Bundles](https://github.com/brikcss/bundles-core) which filters files for use with other bundlers.\n\n## Environment support\n\n| Node | CLI | ES Module | Browser | UMD |\n| :--: | :-: | :-------: | :-----: | :-: |\n|  ✓   |  ✓  |     ✓     |    x    |  x  |\n\n## Install\n\nMake sure [Bundles is installed](https://github.com/brikcss/bundles-core#install).\n\n```sh\nnpm install @bundles/bundles-filters -D\n```\n\n## Usage\n\nSee [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for details on configuring Bundles and bundlers.\n\n### `filters`\n\n`filters` is the only configuration option. It allows you to create one or more `filter`s, each which do one of the following:\n\n1. _Permanently_ remove specified output files from `bundle.output`.\n2. Run a series of bundlers on a _temporarily_ filtered subset of output files from `bundle.output`. _NOTE: This does not remove anything from `bundle.output`, the filter only applies temporarily while the configured bundlers run._\n\n### `filter`\n\n**Properties:**\n\n- `pattern` **{String|String[]|Function}** _(required)_ Use glob pattern(s) to test against each input source path. If the path matches, it will be included in the filter. Or you may pass a custom Function for more flexibility. Custom functions receive `file`, `bundle`, and `micromatch` as parameters, and must return a Boolean to tell Bundles if a file should be added to the filter. For example:\n  ```js\n  function myCustomFilter(file, { bundle, micromatch }) {\n    // Return `true` to add to filter.\n    return true;\n  }\n  ```\n- `type` **{string}** _Default: `'some'`_ [micromatch](https://github.com/micromatch/micromatch) is used to test filter patterns. By default, the `micromatch.some()` method is used to test. You may tweak the behavior to your liking by passing `'every'`, `'any'`, `'all'`, `'not'`, or `'contains'` to use the corresponding micromatch method.\n- `options` **{Object}** Options passed directly to [micromatch](https://github.com/micromatch/micromatch).\n- `reverse` **{Boolean}** When true, files that do NOT match `filter.pattern` will be added to the filter.\n- `bundlers` **{Object[]}** When this property exists, files that match the filter will be run through these bundlers. This is useful to run certain bundlers only on a subset of a larger grouping of files. The `bundlers` property can be configured exactly like bundlers in `bundle.bundlers`. See [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for more details.\n\n### Example:\n\n```js\nconst bundle = {\n  input: [...],\n  bundlers: [\n    {\n      run: require('@bundles/bundles-filters'),\n      filters: [\n        {\n          // These files will be removed permanently.\n          pattern: ['!*.yaml'],\n        },\n        {\n          // All other filters will run their matching subset of files through\n          // the configured bundlers, after which the original `bundle.output`\n          // (minus the removed files) is restored.\n          pattern: ['{one,two,three}.md'],\n          bundlers: [markdown, footer],\n        },\n        {\n          // Pattern can be a Function.\n          pattern: (file, { bundle, micromatch }) => path.extname(file.source.path) === '.css',\n          bundlers: [css],\n        },\n        {\n          pattern: ['*.{css,js}', '!three.js'],\n          bundlers: [banner, footer],\n        },\n        {\n          pattern: '*.json',\n          bundlers: [json],\n        },\n      ],\n    },\n  ];\n}\n```\n","readmeFilename":"README.md","_id":"@bundles/bundles-filters@0.2.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"thezimmee","email":"thezimmee@gmail.com"},"dist":{"integrity":"sha512-xupLLJacBtK1KKwVqYBwLE+3vPuAwdoSGX7B8KGzCr5FG6ZGUsueKDKf1dfIWCMEFr9jAxcTvFkT5PFspwIaIQ==","shasum":"f0822477fc8e20629e9b42a9e5d84255688853f7","tarball":"https://registry.npmjs.org/@bundles/bundles-filters/-/bundles-filters-0.2.1.tgz","fileCount":4,"unpackedSize":10752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsNJ1CRA9TVsSAnZWagAAbT0P/0nSM9CEG1+8NlBHxg/h\n8q4zEYokMtaHpPDwtfjc4TIa+24MD+0qIzKiE+w2rcYsZpbcFiB1n+qOmHKH\ntsquIcAxW8AA+JQHQ4ybZMDsEGZXMCc6cFXji8I4HF/FYPAbqA9k5F24hitM\nXG1D1io/+RC2SCYQTgZ4refe+6fkrQVYBsmfEELo9utAvbh3Juq0GxmGw82I\nvb6P4Qr7f212J0km+yBhQWPe9Gkv0Y80QH5C/uNo9xE98/gsPC+I0YkTm0iZ\nzGTW/hQ8C+HFTfdb1UfAG+YioshTSKviN59EiLEwYvPrS0ra0JNo50R/C3ij\ne5Z33g+miG3CWMFTKZevC661BJzYirXf0bPxw5rAFfCs4/Kd57N6O9Ct0SDC\nDuxN/juKwdm+tdcLOcCQRlfpWW8tgxRcRcexK+t1615chHSbhcxkoavYL7CN\n5rwWkMO942H3yQTHI4I0vIeFS1lgKwiHq+7TfXD/AxYwsSpdwQattjvG0NFK\nTVww6VIYCcaPqed2eqphMr3BBjj+GScYIp8xAtPE7KMT3Jbwj7pEPO8OCQBq\nk17w+3sqasqDzK63b1Me0JYgwALQA8zRudMqAOvQPynTW774npqaAtyZJlfc\nIhB63AN+e3GK1k2I0WXqxrgZw9Hf+t1chsZe7EKzpAftLDi9zJo6iDxtPca/\nBmEO\r\n=0Nl7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGspYQQdNVXgQg+lNmCaVMdRXhbh8KFCjfno1VMrHsqQIgEy6RtVcDHUMYqCZ1xLQCaVjjn7Nky1RewE7WPvTWSgU="}]},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundles-filters_0.2.1_1571869300916_0.7956366563698567"},"_hasShrinkwrap":false}},"time":{"created":"2019-01-31T23:45:14.480Z","0.0.1":"2019-01-31T23:45:17.356Z","modified":"2022-04-04T21:06:01.539Z","0.0.2":"2019-01-31T23:50:13.268Z","0.0.3":"2019-02-06T22:51:55.209Z","0.2.0":"2019-05-18T23:01:32.421Z","0.2.1":"2019-10-23T22:21:41.027Z"},"maintainers":[{"name":"thezimmee","email":"thezimmee@gmail.com"}],"description":"A bundler plugin for Bundles which allows you to create a series of dynamic filters to run through other bundlers.","homepage":"https://github.com/brikcss/bundles-filters","keywords":["brikcss","bundles","bundler","filters"],"repository":{"type":"git","url":"git+https://github.com/brikcss/bundles-filters.git"},"contributors":[{"name":"The Zimmee","email":"thezimmee@gmail.com"}],"author":{"name":"Brikcss","email":"https://github.com/brikcss"},"bugs":{"url":"https://github.com/brikcss/bundles-filters/issues"},"license":"MIT","readme":"# Bundles Filters Bundler\n\n<!-- Shields. -->\n<p>\n    <!-- NPM version. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-filters\"><img alt=\"NPM version\" src=\"https://img.shields.io/npm/v/@bundles/bundles-filters.svg?style=flat-square\"></a>\n    <!-- NPM downloads/month. -->\n    <a href=\"https://www.npmjs.com/package/@bundles/bundles-filters\"><img alt=\"NPM downloads per month\" src=\"https://img.shields.io/npm/dm/@bundles/bundles-filters.svg?style=flat-square\"></a>\n    <!-- Travis branch. -->\n    <a href=\"https://github.com/brikcss/bundles-filters/tree/master\"><img alt=\"Travis branch\" src=\"https://img.shields.io/travis/rust-lang/rust/master.svg?style=flat-square&label=master\"></a>\n    <!-- Codacy. -->\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-filters\"><img alt=\"Codacy code grade\" src=\"https://img.shields.io/codacy/grade/894fa451daf842ea98aac96393484360/master.svg?style=flat-square\"></a>\n    <a href=\"https://www.codacy.com/app/thezimmee/bundles-filters\"><img alt=\"Codacy coverage\" src=\"https://img.shields.io/codacy/coverage/894fa451daf842ea98aac96393484360/master.svg?style=flat-square\"></a>\n    <!-- Coveralls -->\n    <a href='https://coveralls.io/github/brikcss/bundles-filters?branch=master'><img src='https://img.shields.io/coveralls/github/brikcss/bundles-filters/master.svg?style=flat-square' alt='Coverage Status' /></a>\n    <!-- JS Standard style. -->\n    <a href=\"https://standardjs.com\"><img alt=\"JavaScript Style Guide\" src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square\"></a>\n    <!-- Prettier code style. -->\n    <a href=\"https://prettier.io/\"><img alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"></a>\n    <!-- Semantic release. -->\n    <a href=\"https://github.com/semantic-release/semantic-release\"><img alt=\"semantic release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square\"></a>\n    <!-- Commitizen friendly. -->\n    <a href=\"http://commitizen.github.io/cz-cli/\"><img alt=\"Commitizen friendly\" src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square\"></a>\n    <!-- MIT License. -->\n    <a href=\"https://choosealicense.com/licenses/mit/\"><img alt=\"License\" src=\"https://img.shields.io/npm/l/express.svg?style=flat-square\"></a>\n    <!-- Greenkeeper. -->\n    <a href=\"https://greenkeeper.io/\"><img src=\"https://badges.greenkeeper.io/brikcss/bundles-filters.svg?style=flat-square\" alt=\"Greenkeeper badge\"></a>\n</p>\n\nThis is a bundler plugin for use with [Bundles](https://github.com/brikcss/bundles-core) which filters files for use with other bundlers.\n\n## Environment support\n\n| Node | CLI | ES Module | Browser | UMD |\n| :--: | :-: | :-------: | :-----: | :-: |\n|  ✓   |  ✓  |     ✓     |    x    |  x  |\n\n## Install\n\nMake sure [Bundles is installed](https://github.com/brikcss/bundles-core#install).\n\n```sh\nnpm install @bundles/bundles-filters -D\n```\n\n## Usage\n\nSee [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for details on configuring Bundles and bundlers.\n\n### `filters`\n\n`filters` is the only configuration option. It allows you to create one or more `filter`s, each which do one of the following:\n\n1. _Permanently_ remove specified output files from `bundle.output`.\n2. Run a series of bundlers on a _temporarily_ filtered subset of output files from `bundle.output`. _NOTE: This does not remove anything from `bundle.output`, the filter only applies temporarily while the configured bundlers run._\n\n### `filter`\n\n**Properties:**\n\n- `pattern` **{String|String[]|Function}** _(required)_ Use glob pattern(s) to test against each input source path. If the path matches, it will be included in the filter. Or you may pass a custom Function for more flexibility. Custom functions receive `file`, `bundle`, and `micromatch` as parameters, and must return a Boolean to tell Bundles if a file should be added to the filter. For example:\n  ```js\n  function myCustomFilter(file, { bundle, micromatch }) {\n    // Return `true` to add to filter.\n    return true;\n  }\n  ```\n- `type` **{string}** _Default: `'some'`_ [micromatch](https://github.com/micromatch/micromatch) is used to test filter patterns. By default, the `micromatch.some()` method is used to test. You may tweak the behavior to your liking by passing `'every'`, `'any'`, `'all'`, `'not'`, or `'contains'` to use the corresponding micromatch method.\n- `options` **{Object}** Options passed directly to [micromatch](https://github.com/micromatch/micromatch).\n- `reverse` **{Boolean}** When true, files that do NOT match `filter.pattern` will be added to the filter.\n- `bundlers` **{Object[]}** When this property exists, files that match the filter will be run through these bundlers. This is useful to run certain bundlers only on a subset of a larger grouping of files. The `bundlers` property can be configured exactly like bundlers in `bundle.bundlers`. See [configuring Bundles](https://github.com/brikcss/bundles-core#configuration) for more details.\n\n### Example:\n\n```js\nconst bundle = {\n  input: [...],\n  bundlers: [\n    {\n      run: require('@bundles/bundles-filters'),\n      filters: [\n        {\n          // These files will be removed permanently.\n          pattern: ['!*.yaml'],\n        },\n        {\n          // All other filters will run their matching subset of files through\n          // the configured bundlers, after which the original `bundle.output`\n          // (minus the removed files) is restored.\n          pattern: ['{one,two,three}.md'],\n          bundlers: [markdown, footer],\n        },\n        {\n          // Pattern can be a Function.\n          pattern: (file, { bundle, micromatch }) => path.extname(file.source.path) === '.css',\n          bundlers: [css],\n        },\n        {\n          pattern: ['*.{css,js}', '!three.js'],\n          bundlers: [banner, footer],\n        },\n        {\n          pattern: '*.json',\n          bundlers: [json],\n        },\n      ],\n    },\n  ];\n}\n```\n","readmeFilename":"README.md"}