{"_id":"rollup-plugin-workbox","_rev":"1727208","name":"rollup-plugin-workbox","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","dist-tags":{"latest":"6.2.0"},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"time":{"modified":"2021-11-29T01:31:43.000Z","created":"2018-07-24T10:48:56.597Z","6.2.0":"2021-08-16T12:24:30.176Z","6.1.4":"2021-08-02T08:28:49.877Z","6.1.3":"2021-07-26T09:55:42.745Z","6.1.2":"2021-07-25T09:35:46.512Z","6.1.1":"2021-01-16T22:35:04.896Z","6.1.0":"2020-12-20T09:52:04.209Z","6.0.0":"2020-12-03T23:38:00.293Z","5.2.1":"2020-08-21T20:38:13.779Z","5.2.0":"2020-08-21T12:58:33.775Z","5.1.0":"2020-07-27T20:10:20.289Z","5.0.1":"2020-01-30T19:44:42.793Z","5.0.0":"2020-01-30T19:37:07.672Z","4.0.0":"2019-10-21T16:15:06.953Z","3.0.0":"2019-09-28T16:30:01.245Z","2.0.0":"2018-07-25T10:34:50.189Z","1.0.1":"2018-07-24T13:29:35.319Z","1.0.0":"2018-07-24T10:48:56.597Z"},"users":{},"author":{"name":"modern-web"},"repository":{"type":"git","url":"git+https://github.com/modernweb-dev/web.git","directory":"packages/rollup-plugin-workbox"},"versions":{"6.2.0":{"name":"rollup-plugin-workbox","version":"6.2.0","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","license":"MIT","repository":{"type":"git","url":"git+https://github.com/modernweb-dev/web.git","directory":"packages/rollup-plugin-workbox"},"author":{"name":"modern-web"},"homepage":"https://github.com/modernweb-dev/web/tree/master/packages/rollup-plugin-workbox","bugs":{"url":"https://github.com/modernweb-dev/web/issues"},"main":"dist/index.js","module":"index.mjs","exports":{".":{"import":"./index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsc","demo":"rollup -c demo/rollup.config.mjs"},"keywords":["rollup","service-worker","workbox"],"dependencies":{"@rollup/plugin-node-resolve":"^11.0.1","@rollup/plugin-replace":"^3.0.0","pretty-bytes":"^5.5.0","rollup-plugin-terser":"^7.0.2","workbox-build":"^6.2.4"},"contributors":[{"name":"Pascal Schilp","email":"pascalschilp@gmail.com"},{"name":"Benny Powers","email":"web@bennypowers.com"}],"_id":"rollup-plugin-workbox@6.2.0","_nodeVersion":"12.22.4","_npmVersion":"6.14.14","dist":{"shasum":"f3aa8d4cb169332461b14d7acf470afaa71ec4bb","size":19484,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-6.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-6.2.0.tgz"},"_npmUser":{"name":"modern-web","email":"hello@modern-web.dev"},"directories":{},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_6.2.0_1629116670064_0.7359854965615793"},"_hasShrinkwrap":false,"publish_time":1629116670176,"_cnpm_publish_time":1629116670176},"6.1.4":{"name":"rollup-plugin-workbox","version":"6.1.4","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","license":"MIT","repository":{"type":"git","url":"git+https://github.com/modernweb-dev/web.git","directory":"packages/rollup-plugin-workbox"},"author":{"name":"modern-web"},"homepage":"https://github.com/modernweb-dev/web/tree/master/packages/rollup-plugin-workbox","bugs":{"url":"https://github.com/modernweb-dev/web/issues"},"main":"dist/index.js","module":"index.mjs","exports":{".":{"import":"./index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsc","demo":"rollup -c demo/rollup.config.mjs"},"keywords":["rollup","service-worker","workbox"],"dependencies":{"@rollup/plugin-node-resolve":"^11.0.1","@rollup/plugin-replace":"^3.0.0","pretty-bytes":"^5.5.0","rollup-plugin-terser":"^7.0.2","workbox-build":"^6.0.2"},"devDependencies":{"@types/workbox-build":"^5.0.0"},"contributors":[{"name":"Pascal Schilp","email":"pascalschilp@gmail.com"},{"name":"Benny Powers","email":"web@bennypowers.com"}],"_id":"rollup-plugin-workbox@6.1.4","_nodeVersion":"12.22.3","_npmVersion":"6.14.13","dist":{"shasum":"0aeaf897ca07e522b39f454aa5b55f747722087b","size":8880,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-6.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-6.1.4.tgz"},"_npmUser":{"name":"modern-web","email":"hello@modern-web.dev"},"directories":{},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_6.1.4_1627892929700_0.5683926057198398"},"_hasShrinkwrap":false,"publish_time":1627892929877,"_cnpm_publish_time":1627892929877},"6.1.3":{"name":"rollup-plugin-workbox","version":"6.1.3","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","license":"MIT","repository":{"type":"git","url":"git+https://github.com/modernweb-dev/web.git","directory":"packages/rollup-plugin-workbox"},"author":{"name":"modern-web"},"homepage":"https://github.com/modernweb-dev/web/tree/master/packages/rollup-plugin-workbox","bugs":{"url":"https://github.com/modernweb-dev/web/issues"},"main":"dist/index.js","module":"index.mjs","exports":{".":{"import":"./index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsc","demo":"rollup -c demo/rollup.config.mjs"},"keywords":["rollup","service-worker","workbox"],"dependencies":{"@rollup/plugin-node-resolve":"^11.0.1","@rollup/plugin-replace":"^2.3.4","pretty-bytes":"^5.5.0","rollup-plugin-terser":"^7.0.2","workbox-build":"^6.0.2"},"devDependencies":{"@types/workbox-build":"^5.0.0"},"contributors":[{"name":"Pascal Schilp","email":"pascalschilp@gmail.com"},{"name":"Benny Powers","email":"web@bennypowers.com"}],"_id":"rollup-plugin-workbox@6.1.3","_nodeVersion":"12.22.3","_npmVersion":"6.14.13","dist":{"shasum":"c9ada280431de7807491a6adc211e2ee3a4b7182","size":8860,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-6.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-6.1.3.tgz"},"_npmUser":{"name":"modern-web","email":"hello@modern-web.dev"},"directories":{},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_6.1.3_1627293342634_0.2512097137164133"},"_hasShrinkwrap":false,"publish_time":1627293342745,"_cnpm_publish_time":1627293342745},"6.1.2":{"name":"rollup-plugin-workbox","version":"6.1.2","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","license":"MIT","repository":{"type":"git","url":"git+https://github.com/modernweb-dev/web.git","directory":"packages/rollup-plugin-workbox"},"author":{"name":"modern-web"},"homepage":"https://github.com/modernweb-dev/web/tree/master/packages/rollup-plugin-workbox","bugs":{"url":"https://github.com/modernweb-dev/web/issues"},"main":"dist/index.js","module":"index.mjs","exports":{".":{"import":"./index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsc","demo":"rollup -c demo/rollup.config.mjs"},"keywords":["rollup","service-worker","workbox"],"dependencies":{"@rollup/plugin-node-resolve":"^13.0.4","@rollup/plugin-replace":"^2.3.4","pretty-bytes":"^5.5.0","rollup-plugin-terser":"^7.0.2","workbox-build":"^6.0.2"},"devDependencies":{"@types/workbox-build":"^5.0.0"},"contributors":[{"name":"Pascal Schilp","email":"pascalschilp@gmail.com"},{"name":"Benny Powers","email":"web@bennypowers.com"}],"_id":"rollup-plugin-workbox@6.1.2","_nodeVersion":"12.22.3","_npmVersion":"6.14.13","dist":{"shasum":"d431e965a63356564028a04a6e1bf857b14e32cb","size":8828,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-6.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-6.1.2.tgz"},"_npmUser":{"name":"modern-web","email":"hello@modern-web.dev"},"directories":{},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_6.1.2_1627205746352_0.4988694698513578"},"_hasShrinkwrap":false,"publish_time":1627205746512,"_cnpm_publish_time":1627205746512},"6.1.1":{"name":"rollup-plugin-workbox","version":"6.1.1","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","license":"MIT","repository":{"type":"git","url":"git+https://github.com/modernweb-dev/web.git","directory":"packages/rollup-plugin-workbox"},"author":{"name":"modern-web"},"homepage":"https://github.com/modernweb-dev/web/tree/master/packages/rollup-plugin-workbox","bugs":{"url":"https://github.com/modernweb-dev/web/issues"},"main":"dist/index.js","module":"index.mjs","exports":{".":{"import":"./index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsc","demo":"rollup -c demo/rollup.config.mjs"},"keywords":["rollup","service-worker","workbox"],"dependencies":{"@rollup/plugin-node-resolve":"^11.0.1","@rollup/plugin-replace":"^2.3.4","pretty-bytes":"^5.5.0","rollup-plugin-terser":"^7.0.2","workbox-build":"^6.0.2"},"devDependencies":{"@types/workbox-build":"^5.0.0"},"contributors":[{"name":"Pascal Schilp","email":"pascalschilp@gmail.com"},{"name":"Benny Powers","email":"web@bennypowers.com"}],"_id":"rollup-plugin-workbox@6.1.1","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"shasum":"cd8802ef76d42b02c60d916346faa913024ff1e4","size":8793,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-6.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-6.1.1.tgz"},"_npmUser":{"name":"modern-web","email":"hello@modern-web.dev"},"directories":{},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_6.1.1_1610836504779_0.8511245456742385"},"_hasShrinkwrap":false,"publish_time":1610836504896,"_cnpm_publish_time":1610836504896},"6.1.0":{"name":"rollup-plugin-workbox","version":"6.1.0","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","license":"MIT","repository":{"type":"git","url":"git+https://github.com/modernweb-dev/web.git","directory":"packages/rollup-plugin-workbox"},"author":{"name":"modern-web"},"homepage":"https://github.com/modernweb-dev/web/tree/master/packages/rollup-plugin-workbox","bugs":{"url":"https://github.com/modernweb-dev/web/issues"},"main":"dist/index.js","module":"index.mjs","exports":{".":{"import":"./index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsc","demo":"rollup -c demo/rollup.config.mjs"},"keywords":["rollup","service-worker","workbox"],"dependencies":{"@rollup/plugin-node-resolve":"^11.0.1","@rollup/plugin-replace":"^2.3.4","pretty-bytes":"^5.4.1","rollup-plugin-terser":"^7.0.2","workbox-build":"^6.0.2"},"devDependencies":{"@types/workbox-build":"^5.0.0"},"contributors":[{"name":"Pascal Schilp","email":"pascalschilp@gmail.com"},{"name":"Benny Powers","email":"web@bennypowers.com"}],"_id":"rollup-plugin-workbox@6.1.0","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"shasum":"120cde36547769fc8cc45eae97a338c4017ed936","size":8596,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-6.1.0.tgz"},"_npmUser":{"name":"modern-web","email":"hello@modern-web.dev"},"directories":{},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_6.1.0_1608457924018_0.3773779125867658"},"_hasShrinkwrap":false,"publish_time":1608457924209,"_cnpm_publish_time":1608457924209},"6.0.0":{"name":"rollup-plugin-workbox","version":"6.0.0","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","license":"MIT","repository":{"type":"git","url":"git+https://github.com/modernweb-dev/web.git","directory":"packages/rollup-plugin-workbox"},"author":{"name":"modern-web"},"homepage":"https://github.com/modernweb-dev/web/tree/master/packages/rollup-plugin-workbox","bugs":{"url":"https://github.com/modernweb-dev/web/issues"},"main":"dist/index.js","module":"index.mjs","exports":{".":{"import":"./index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsc","demo":"rollup -c demo/rollup.config.mjs"},"keywords":["rollup","service-worker","workbox"],"dependencies":{"@rollup/plugin-node-resolve":"^10.0.0","@rollup/plugin-replace":"^2.3.4","pretty-bytes":"^5.4.1","rollup-plugin-terser":"^7.0.2","workbox-build":"^6.0.0"},"devDependencies":{"@types/workbox-build":"^5.0.0"},"contributors":[{"name":"Pascal Schilp","email":"pascalschilp@gmail.com"},{"name":"Benny Powers","email":"web@bennypowers.com"}],"_id":"rollup-plugin-workbox@6.0.0","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"shasum":"67fe6ee5356345ddb9d49a1dd21216503da52925","size":13325,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-6.0.0.tgz"},"_npmUser":{"name":"modern-web","email":"hello@modern-web.dev"},"directories":{},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_6.0.0_1607038680115_0.4891555457913941"},"_hasShrinkwrap":false,"publish_time":1607038680293,"_cnpm_publish_time":1607038680293},"5.2.1":{"name":"rollup-plugin-workbox","version":"5.2.1","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","license":"MIT","repository":{"type":"git","url":"git+https://github.com/modernweb-dev/web.git","directory":"packages/rollup-plugin-workbox"},"author":{"name":"modern-web"},"homepage":"https://github.com/modernweb-dev/web/tree/master/packages/rollup-plugin-workbox","bugs":{"url":"https://github.com/modernweb-dev/web/issues"},"main":"dist/index.js","module":"index.mjs","scripts":{"build":"tsc","demo":"rollup -c demo/rollup.config.mjs"},"keywords":["rollup","service-worker","workbox"],"exports":{".":{"import":"./index.mjs","require":"./dist/index.js"}},"dependencies":{"@rollup/plugin-node-resolve":"^8.4.0","@rollup/plugin-replace":"^2.3.3","pretty-bytes":"^5.3.0","rollup-plugin-terser":"^6.1.0","workbox-build":"^5.0.0"},"devDependencies":{"@types/workbox-build":"^5.0.0"},"contributors":[{"name":"Pascal Schilp","email":"pascalschilp@gmail.com"},{"name":"Benny Powers","email":"web@bennypowers.com"}],"_id":"rollup-plugin-workbox@5.2.1","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"shasum":"371b0753667df03886742ec072281525803c2c75","size":15823,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-5.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-5.2.1.tgz"},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"_npmUser":{"name":"modern-web","email":"hello@modern-web.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_5.2.1_1598042293625_0.40158524833177256"},"_hasShrinkwrap":false,"publish_time":1598042293779,"_cnpm_publish_time":1598042293779},"5.2.0":{"name":"rollup-plugin-workbox","version":"5.2.0","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","license":"MIT","repository":{"type":"git","url":"git+https://github.com/modernweb-dev/web.git","directory":"packages/rollup-plugin-workbox"},"author":{"name":"modern-web"},"contributors":[{"name":"Pascal Schilp","email":"pascalschilp@gmail.com"},{"name":"Benny Powers","email":"web@bennypowers.com"}],"homepage":"https://github.com/modernweb-dev/web/tree/master/packages/rollup-plugin-workbox","bugs":{"url":"https://github.com/modernweb-dev/web/issues"},"main":"dist/index.js","scripts":{"build":"tsc","demo":"rollup -c demo/rollup.config.js"},"keywords":["rollup","service-worker","workbox"],"dependencies":{"@rollup/plugin-node-resolve":"^8.4.0","@rollup/plugin-replace":"^2.3.3","pretty-bytes":"^5.3.0","rollup":"^2.20.0","rollup-plugin-terser":"^6.1.0","workbox-build":"^5.0.0"},"devDependencies":{"@types/workbox-build":"^5.0.0"},"_id":"rollup-plugin-workbox@5.2.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"shasum":"c78a997029ed7974d469508668f1f221de4f9c5f","size":15095,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-5.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-5.2.0.tgz"},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"_npmUser":{"name":"modern-web","email":"hello@modern-web.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_5.2.0_1598014713660_0.23261684627286616"},"_hasShrinkwrap":false,"publish_time":1598014713775,"_cnpm_publish_time":1598014713775},"5.1.0":{"name":"rollup-plugin-workbox","version":"5.1.0","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","main":"dist/index.js","jsnext:main":"index.mjs","module":"index.mjs","scripts":{"test":"tape index.test.js","demo":"rollup -c demo/rollup.config.js","lint":"eslint --ext=.js,.mjs .","prepare":"rollup --input index.mjs --output.file dist/index.js --output.format cjs"},"repository":{"type":"git","url":"git+ssh://git@gitlab.com/bennyp/rollup-plugin-workbox.git"},"keywords":["rollup","service-worker","workbox"],"author":{"name":"Benny Powers","email":"web@bennypowers.com"},"contributors":[{"name":"Pascal Schilp","email":"pascalschilp@gmail.com"}],"license":"ISC","bugs":{"url":"https://gitlab.com/bennyp/rollup-plugin-workbox/issues"},"homepage":"https://gitlab.com/bennyp/rollup-plugin-workbox#README","dependencies":{"@rollup/plugin-node-resolve":"^8.4.0","@rollup/plugin-replace":"^2.3.3","pretty-bytes":"^5.3.0","rollup-plugin-terser":"^6.1.0","workbox-build":"^5.0.0"},"devDependencies":{"eslint":"^6.8.0","eslint-config-blink":"^0.3.1","eslint-config-google":"^0.14.0","eslint-plugin-html":"^6.0.0","eslint-plugin-json":"^2.0.1","eslint-plugin-no-loops":"^0.3.0","rollup":"^1.32.1"},"gitHead":"b47bd806b7efdf39fea75fdd1a9aba1fe0fa81fd","_id":"rollup-plugin-workbox@5.1.0","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"shasum":"a2eeabcd37ca96cd977076ce4ba4755083ad6aee","size":5286,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-5.1.0.tgz"},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"_npmUser":{"name":"passle","email":"pascalschilp@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_5.1.0_1595880620118_0.2269364094159232"},"_hasShrinkwrap":false,"publish_time":1595880620289,"_cnpm_publish_time":1595880620289},"5.0.1":{"name":"rollup-plugin-workbox","version":"5.0.1","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","main":"dist/index.js","jsnext:main":"index.mjs","module":"index.mjs","scripts":{"test":"tape index.test.js","demo":"rollup -c demo/rollup.config.js","lint":"eslint --ext=.js,.mjs .","prepare":"rollup --input index.mjs --output.file dist/index.js --output.format cjs"},"repository":{"type":"git","url":"git+ssh://git@gitlab.com/bennyp/rollup-plugin-workbox.git"},"keywords":["rollup","service-worker","workbox"],"author":{"name":"Benny Powers","email":"web@bennypowers.com"},"contributors":[{"name":"Pascal Schilp","email":"pascalschilp@gmail.com"}],"license":"ISC","bugs":{"url":"https://gitlab.com/bennyp/rollup-plugin-workbox/issues"},"homepage":"https://gitlab.com/bennyp/rollup-plugin-workbox#README","dependencies":{"pretty-bytes":"^5.3.0","workbox-build":"^5.0.0"},"devDependencies":{"eslint":"^6.8.0","eslint-config-blink":"^0.3.1","eslint-config-google":"^0.14.0","eslint-plugin-html":"^6.0.0","eslint-plugin-json":"^2.0.1","eslint-plugin-no-loops":"^0.3.0","rollup":"^1.30.1"},"gitHead":"018a7a53a9e453c6909f41df38d23a24e0cfe9dd","_id":"rollup-plugin-workbox@5.0.1","_nodeVersion":"12.3.1","_npmVersion":"6.13.4","dist":{"shasum":"7ab8338833e166f72514f58237685b3d1a53eaa5","size":4529,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-5.0.1.tgz"},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"_npmUser":{"name":"bennyp","email":"web@bennypowers.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_5.0.1_1580413482676_0.9483647929887471"},"_hasShrinkwrap":false,"publish_time":1580413482793,"_cnpm_publish_time":1580413482793},"5.0.0":{"name":"rollup-plugin-workbox","version":"5.0.0","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","main":"dist/index.js","jsnext:main":"index.mjs","module":"index.mjs","scripts":{"test":"tape index.test.js","demo":"rollup -c demo/rollup.config.js","lint":"eslint --ext=.js,.mjs .","prepare":"rollup --input index.mjs --output.file dist/index.js --output.format cjs"},"repository":{"type":"git","url":"git+ssh://git@gitlab.com/bennyp/rollup-plugin-workbox.git"},"keywords":["rollup","service-worker","workbox"],"author":{"name":"Benny Powers","email":"web@bennypowers.com"},"license":"ISC","bugs":{"url":"https://gitlab.com/bennyp/rollup-plugin-workbox/issues"},"homepage":"https://gitlab.com/bennyp/rollup-plugin-workbox#README","dependencies":{"pretty-bytes":"^5.3.0","workbox-build":"^5.0.0"},"devDependencies":{"eslint":"^6.8.0","eslint-config-blink":"^0.3.1","eslint-config-google":"^0.14.0","eslint-plugin-html":"^6.0.0","eslint-plugin-json":"^2.0.1","eslint-plugin-no-loops":"^0.3.0","rollup":"^1.30.1"},"gitHead":"37d29585ea56a3061b10b44a69e0d55b53f878b7","_id":"rollup-plugin-workbox@5.0.0","_nodeVersion":"12.3.1","_npmVersion":"6.13.4","dist":{"shasum":"972fa1f00b9768cb725e8032ce21c1a82e7adf7b","size":4498,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-5.0.0.tgz"},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"_npmUser":{"name":"bennyp","email":"web@bennypowers.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_5.0.0_1580413027569_0.6590146010923235"},"_hasShrinkwrap":false,"publish_time":1580413027672,"_cnpm_publish_time":1580413027672},"4.0.0":{"name":"rollup-plugin-workbox","version":"4.0.0","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","main":"dist/index.js","jsnext:main":"index.mjs","module":"index.mjs","scripts":{"test":"tape index.test.js","demo":"rollup -c demo/rollup.config.js","lint":"eslint --ext=.js,.mjs .","prepare":"rollup --input 'index.mjs' --output 'dist/index.js' --format 'cjs'"},"repository":{"type":"git","url":"git+ssh://git@gitlab.com/bennyp/rollup-plugin-workbox.git"},"keywords":["rollup","service-worker","workbox"],"author":{"name":"Benny Powers","email":"web@bennypowers.com"},"license":"ISC","bugs":{"url":"https://gitlab.com/bennyp/rollup-plugin-workbox/issues"},"homepage":"https://gitlab.com/bennyp/rollup-plugin-workbox#README","dependencies":{"pretty-bytes":"^5.3.0","workbox-build":"^4.3.1"},"devDependencies":{"eslint":"^5.2.0","eslint-config-blink":"^0.3.1","eslint-config-google":"^0.9.1","eslint-plugin-html":"^4.0.5","eslint-plugin-json":"^1.2.0","eslint-plugin-no-loops":"^0.3.0","rollup":"^1.21.4"},"gitHead":"5146c2a7737f6f315f952c39a830fe2982ccfe53","_id":"rollup-plugin-workbox@4.0.0","_nodeVersion":"12.3.1","_npmVersion":"6.11.3","dist":{"shasum":"3ad115eb806ad9a47dabf237de1a1175e347a94b","size":4160,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-4.0.0.tgz"},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"_npmUser":{"name":"bennyp","email":"web@bennypowers.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_4.0.0_1571674506733_0.7235124443056216"},"_hasShrinkwrap":false,"publish_time":1571674506953,"_cnpm_publish_time":1571674506953},"3.0.0":{"name":"rollup-plugin-workbox","version":"3.0.0","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","main":"dist/index.js","jsnext:main":"index.mjs","module":"index.mjs","scripts":{"test":"tape index.test.js","lint":"eslint --ext=.js,.mjs .","prepare":"rollup --input 'index.mjs' --output 'dist/index.js' --format 'cjs'"},"repository":{"type":"git","url":"git+ssh://git@gitlab.com/bennyp/rollup-plugin-workbox.git"},"keywords":["rollup","service-worker","workbox"],"author":{"name":"Benny Powers","email":"web@bennypowers.com"},"license":"ISC","bugs":{"url":"https://gitlab.com/bennyp/rollup-plugin-workbox/issues"},"homepage":"https://gitlab.com/bennyp/rollup-plugin-workbox#README","dependencies":{"boxen":"^1.3.0","colors":"^1.3.1","filesize":"^3.6.1","workbox-build":"^4.3.1"},"devDependencies":{"eslint":"^5.2.0","eslint-config-blink":"^0.3.1","eslint-config-google":"^0.9.1","eslint-plugin-html":"^4.0.5","eslint-plugin-json":"^1.2.0","eslint-plugin-no-loops":"^0.3.0","rollup":"^1.21.4"},"gitHead":"dc05e83e49aca4d8b37b7cfe9e5a979125aa44ca","_id":"rollup-plugin-workbox@3.0.0","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"shasum":"d5b57b23f1ba3f5d16c96941fdb84e6d0a31e83b","size":2201,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-3.0.0.tgz"},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"_npmUser":{"name":"bennyp","email":"web@bennypowers.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_3.0.0_1569688201105_0.29257587945380314"},"_hasShrinkwrap":false,"publish_time":1569688201245,"_cnpm_publish_time":1569688201245},"2.0.0":{"name":"rollup-plugin-workbox","version":"2.0.0","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","main":"dist/index.js","jsnext:main":"index.mjs","module":"index.mjs","scripts":{"test":"tape index.test.js","lint":"eslint --ext=.js,.mjs .","prepare":"rollup --input 'index.mjs' --output 'dist/index.js' --format 'cjs'"},"repository":{"type":"git","url":"git+ssh://git@gitlab.com/bennyp/rollup-plugin-workbox.git"},"keywords":["rollup","service-worker","workbox"],"author":{"name":"Benny Powers","email":"web@bennypowers.com"},"license":"ISC","bugs":{"url":"https://gitlab.com/bennyp/rollup-plugin-workbox/issues"},"homepage":"https://gitlab.com/bennyp/rollup-plugin-workbox#README","dependencies":{"boxen":"^1.3.0","colors":"^1.3.1","filesize":"^3.6.1","workbox-build":"^3.4.1"},"devDependencies":{"eslint":"^5.2.0","eslint-config-blink":"^0.3.1","eslint-config-google":"^0.9.1","eslint-plugin-html":"^4.0.5","eslint-plugin-json":"^1.2.0","eslint-plugin-no-loops":"^0.3.0","rollup":"^0.63.4"},"gitHead":"e83790401c9bfd756c64fc254e5c138f998c20e0","_id":"rollup-plugin-workbox@2.0.0","_npmVersion":"6.2.0","_nodeVersion":"9.11.1","_npmUser":{"name":"bennyp","email":"web@bennypowers.com"},"dist":{"shasum":"7caba35f1205677ae74c5b5eabd3a7aa135b71a0","size":2202,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-2.0.0.tgz"},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_2.0.0_1532514890123_0.3316183345649326"},"_hasShrinkwrap":false,"publish_time":1532514890189,"_cnpm_publish_time":1532514890189},"1.0.1":{"name":"rollup-plugin-workbox","version":"1.0.1","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","main":"dist/index.js","jsnext:main":"index.mjs","module":"index.mjs","scripts":{"test":"tape index.test.js","lint":"eslint --ext=.js,.mjs .","prepare":"rollup --input 'index.mjs' --output 'dist/index.js' --format 'cjs'"},"repository":{"type":"git","url":"git+ssh://git@gitlab.com/bennyp/rollup-plugin-workbox.git"},"keywords":["rollup","service-worker","workbox"],"author":{"name":"Benny Powers","email":"web@bennypowers.com"},"license":"ISC","bugs":{"url":"https://gitlab.com/bennyp/rollup-plugin-workbox/issues"},"homepage":"https://gitlab.com/bennyp/rollup-plugin-workbox#README","dependencies":{"boxen":"^1.3.0","colors":"^1.3.1","filesize":"^3.6.1","workbox-build":"^3.4.1"},"devDependencies":{"eslint":"^5.2.0","eslint-config-blink":"^0.3.1","eslint-config-google":"^0.9.1","eslint-plugin-html":"^4.0.5","eslint-plugin-json":"^1.2.0","eslint-plugin-no-loops":"^0.3.0","rollup":"^0.63.4"},"gitHead":"a291b867e3e5793a465f31f8133c8e3c1a6529d1","_id":"rollup-plugin-workbox@1.0.1","_npmVersion":"6.2.0","_nodeVersion":"9.11.1","_npmUser":{"name":"bennyp","email":"web@bennypowers.com"},"dist":{"shasum":"64a3b59c173b41376f94bc9400ee3832286b0730","size":2013,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-1.0.1.tgz"},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_1.0.1_1532438975216_0.6437224603706424"},"_hasShrinkwrap":false,"publish_time":1532438975319,"_cnpm_publish_time":1532438975319},"1.0.0":{"name":"rollup-plugin-workbox","version":"1.0.0","description":"Rollup plugin that builds a service worker with workbox as part of your rollup build","jsnext:main":"index.mjs","module":"index.mjs","scripts":{"test":"tape index.test.js","lint":"eslint --ext=.js,.mjs ."},"repository":{"type":"git","url":"git+ssh://git@gitlab.com/bennyp/rollup-plugin-workbox.git"},"keywords":["rollup","service-worker","workbox"],"author":{"name":"Benny Powers","email":"web@bennypowers.com"},"license":"ISC","bugs":{"url":"https://gitlab.com/bennyp/rollup-plugin-workbox/issues"},"homepage":"https://gitlab.com/bennyp/rollup-plugin-workbox#README","dependencies":{"boxen":"^1.3.0","colors":"^1.3.1","filesize":"^3.6.1","workbox-build":"^3.4.1"},"devDependencies":{"eslint":"^5.2.0","eslint-config-blink":"^0.3.1","eslint-config-google":"^0.9.1","eslint-plugin-html":"^4.0.5","eslint-plugin-json":"^1.2.0","eslint-plugin-no-loops":"^0.3.0"},"gitHead":"0c7bcd3bffa377c944b8e9244ff7dd65629eb9d6","_id":"rollup-plugin-workbox@1.0.0","_npmVersion":"6.2.0","_nodeVersion":"9.11.1","_npmUser":{"name":"bennyp","email":"web@bennypowers.com"},"dist":{"shasum":"23c7df337ce9f29fa76fb4d3d4db1312fbff6678","size":1761,"noattachment":false,"key":"/rollup-plugin-workbox/-/rollup-plugin-workbox-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rollup-plugin-workbox/download/rollup-plugin-workbox-1.0.0.tgz"},"maintainers":[{"name":"bennyp","email":"web@bennypowers.com"},{"name":"passle","email":"pascalschilp@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-workbox_1.0.0_1532429336531_0.4808735497157166"},"_hasShrinkwrap":false,"publish_time":1532429336597,"_cnpm_publish_time":1532429336597}},"readme":"# rollup-plugin-workbox\n\n[![Published on npm](https://img.shields.io/npm/v/rollup-plugin-workbox.svg)](https://www.npmjs.com/package/rollup-plugin-workbox)\n\nRollup plugin that builds a service worker with workbox as part of your rollup build\n\n## Usage\n\nThis package provides two rollup plugins: one that generates a complete service worker for you and one that generates a list of assets to precache that is injected into a service worker file.\n\nThe plugins are implemented as two function in the rollup-plugin-workbox module, named `generateSW` and `injectManifest`.\n\n### `generateSW`\n\nImport the `generateSW` plugin from `rollup-plugin-workbox`, and add it to your `plugins` array in your `rollup.config.js`. The plugin takes a workbox config object, and an optional render function as the second argument.\n\nYou can find a detailed list of supported properties for the workbox config object [here](https://developers.google.com/web/tools/workbox/modules/workbox-build#generatesw_mode).\n\n```js\nconst { generateSW } = require('rollup-plugin-workbox');\n\nmodule.exports = {\n  input: 'main.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'esm',\n  },\n  plugins: [\n    generateSW({\n      swDest: '/dist/sw.js',\n      globDirectory: 'demo/dist/',\n    }),\n  ],\n};\n```\n\nYou can also `require` your `workbox-config.js` file and pass it to the plugin.\n\n```js\nconst { generateSW } = require('rollup-plugin-workbox');\n\nconst workboxConfig = require('./workbox-config.js');\n\nmodule.exports = {\n  // ...\n  plugins: [generateSW(workboxConfig)],\n};\n```\n\nYou can also customize the console output after workbox has generated your service worker by passing an optional render function as the second argument to the plugin:\n\n```js\nconst { generateSW } = require('rollup-plugin-workbox');\n\nconst workboxConfig = require('./workbox-config.js')\n\nmodule.exports = {\n  // ...\n  plugins: [\n    generateSW(\n      workboxConfig,\n      function render({ swDest, count, size }) {\n        console.log(\n          '????', swDest,\n          '#️⃣', count,\n          '????', size,\n        );\n      }),\n    )\n  ],\n};\n```\n\n### `injectManifest`\n\nImport the `injectManifest` plugin from `rollup-plugin-workbox`, and add it to your `plugins` array in your `rollup.config.js`. The plugin takes a workbox config object, and an optional render function as the second argument.\n\nYou can find a detailed list of supported properties for the workbox config object [here](https://developers.google.com/web/tools/workbox/modules/workbox-build#injectmanifest_mode).\n\n```js\nconst { injectManifest } = require('rollup-plugin-workbox');\n\nmodule.exports = {\n  input: 'main.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'esm',\n  },\n  plugins: [\n    injectManifest({\n      swSrc: 'sw.js',\n      swDest: '/dist/sw.js',\n      globDirectory: 'demo/dist/',\n    }),\n  ],\n};\n```\n\nYou can also `require` your `workbox-config.js` file and pass it to the plugin.\n\n```js\nconst { injectManifest } = require('rollup-plugin-workbox');\n\nconst workboxConfig = require('./workbox-config.js');\n\nmodule.exports = {\n  // ...\n  plugins: [injectManifest(workboxConfig)],\n};\n```\n\nYou can also customize the console output after workbox has created your service worker by passing an optional render function as the second argument to the plugin:\n\n```js\nconst { injectManifest } = require('rollup-plugin-workbox');\n\nconst workboxConfig = require('./workbox-config.js')\n\nmodule.exports = {\n  // ...\n  plugins: [\n    injectManifest(\n      workboxConfig,\n      function render({ swDest, count, size }) {\n        console.log(\n          '????', swDest,\n          '#️⃣', count,\n          '????', size,\n        );\n      }),\n    )\n  ],\n};\n```\n\n### A note on the `mode` config property\n\nThe `generateSW` mode of Workbox supports a `mode` property, that when set to `'production'` will bundle your generated service worker, and get rid of any `process.env.NODE_ENV` variables that are internally used in the Workbox libraries.\n\nUnfortunately this got [wrongfully documented](https://github.com/GoogleChrome/workbox/issues/2427) for `injectManifest`, and this means that `injectManifest` does not actually support the `mode` property. There is a feature request on the [Workbox repo](https://github.com/GoogleChrome/workbox/issues/2588) to support this feature for `injectManifest` as well.\n\nUntil this gets fixed in `workbox-build`, `rollup-plugin-workbox` **does** support the `mode` property in the Workbox configuration for `injectManifest`, and when set to `'production'` will output a production optimized service worker for you.\n\n```diff\nconst { injectManifest } = require('rollup-plugin-workbox');\n\nmodule.exports = {\n  input: 'main.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'esm',\n  },\n  plugins: [\n    injectManifest({\n      swSrc: 'sw.js',\n      swDest: '/dist/sw.js',\n      globDirectory: 'demo/dist/',\n+     mode: 'production',\n    })\n  ],\n};\n```\n","_attachments":{},"homepage":"https://github.com/modernweb-dev/web/tree/master/packages/rollup-plugin-workbox","bugs":{"url":"https://github.com/modernweb-dev/web/issues"},"license":"MIT"}