{"_id":"service-worker-precache-webpack-plugin","_rev":"1212636","name":"service-worker-precache-webpack-plugin","description":"create service worker file by webpack manifest and sw precache","dist-tags":{"latest":"1.3.5"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"time":{"modified":"2021-10-13T05:46:19.000Z","created":"2018-02-02T11:34:38.922Z","1.3.5":"2018-05-31T02:43:05.526Z","1.3.4":"2018-03-13T11:54:29.113Z","1.3.3":"2018-03-08T04:01:09.005Z","1.3.2":"2018-03-08T02:42:29.563Z","1.3.1":"2018-03-02T06:40:58.553Z","1.3.0":"2018-03-01T03:14:08.352Z","1.2.0":"2018-02-12T07:23:23.769Z","1.1.0":"2018-02-09T02:30:59.801Z","1.0.3":"2018-02-08T10:09:08.138Z","1.0.2":"2018-02-07T09:35:05.742Z","1.0.1":"2018-02-07T08:46:39.009Z","1.0.0":"2018-02-05T06:58:54.093Z","0.0.1":"2018-02-02T11:34:38.922Z"},"users":{},"author":{"name":"hubcarl@126.com"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/service-worker-precache-webpack-plugin.git"},"versions":{"1.3.5":{"name":"service-worker-precache-webpack-plugin","version":"1.3.5","description":"create service worker file by webpack manifest and sw precache","main":"index.js","keywords":["service-worker","sw-precache","webpack","webpack-service-worker","pwa"],"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov > coverage.lcov && codecov --token=e8eba710-8df2-4a1c-bb50-ccd15a2079e6"},"dependencies":{"md5":"^2.2.1","sw-precache":"^5.2.1","uglify-es":"^3.3.9","webpack-merge":"^4.1.1"},"devDependencies":{"babel-eslint":"^8.2.1","chai":"^4.1.2","codecov":"^2.3.0","conventional-changelog-cli":"^1.3.5","eslint":"^4.17.0","nyc":"^11.1.0"},"files":["index.js","lib"],"nyc":{"include":["lib/**.js"],"exclude":["**/*.test.js"]},"ci":{"version":"6, 7, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/service-worker-precache-webpack-plugin.git"},"bugs":{"url":"https://github.com/hubcarl/service-worker-precache-webpack-plugin/issues"},"homepage":"https://github.com/hubcarl/service-worker-precache-webpack-plugin#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"e14db82309848333e55c50ad8903c72b8a96ab38","_id":"service-worker-precache-webpack-plugin@1.3.5","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"47919ff81de0bb881abebf90af9b7c4fa75a9836","size":7654,"noattachment":false,"key":"/service-worker-precache-webpack-plugin/-/service-worker-precache-webpack-plugin-1.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/service-worker-precache-webpack-plugin/download/service-worker-precache-webpack-plugin-1.3.5.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/service-worker-precache-webpack-plugin_1.3.5_1527734584988_0.8516155054222374"},"_hasShrinkwrap":false,"publish_time":1527734585526,"_cnpm_publish_time":1527734585526},"1.3.4":{"name":"service-worker-precache-webpack-plugin","version":"1.3.4","description":"create service worker file by webpack manifest and sw precache","main":"index.js","keywords":["service-worker","sw-precache","webpack","webpack-service-worker","pwa"],"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov > coverage.lcov && codecov --token=e8eba710-8df2-4a1c-bb50-ccd15a2079e6"},"dependencies":{"md5":"^2.2.1","sw-precache":"^5.2.1","uglify-es":"^3.3.9","webpack-merge":"^4.1.1"},"devDependencies":{"babel-eslint":"^8.2.1","chai":"^4.1.2","codecov":"^2.3.0","conventional-changelog-cli":"^1.3.5","eslint":"^4.17.0","nyc":"^11.1.0"},"files":["index.js","lib"],"nyc":{"include":["lib/**.js"],"exclude":["**/*.test.js"]},"ci":{"version":"6, 7, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/service-worker-precache-webpack-plugin.git"},"bugs":{"url":"https://github.com/hubcarl/service-worker-precache-webpack-plugin/issues"},"homepage":"https://github.com/hubcarl/service-worker-precache-webpack-plugin#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"2a2ea945019f1f08eca78d3d88ec9dfc28fcaed6","_id":"service-worker-precache-webpack-plugin@1.3.4","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"fd699e264c50f0c8b5732935c59d62f5e0c5fab2","size":7573,"noattachment":false,"key":"/service-worker-precache-webpack-plugin/-/service-worker-precache-webpack-plugin-1.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/service-worker-precache-webpack-plugin/download/service-worker-precache-webpack-plugin-1.3.4.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/service-worker-precache-webpack-plugin_1.3.4_1520942069068_0.4945212353114905"},"_hasShrinkwrap":false,"publish_time":1520942069113,"_cnpm_publish_time":1520942069113},"1.3.3":{"name":"service-worker-precache-webpack-plugin","version":"1.3.3","description":"create service worker file by webpack manifest and sw precache","main":"index.js","keywords":["service-worker","sw-precache","webpack","webpack-service-worker","pwa"],"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov > coverage.lcov && codecov --token=e8eba710-8df2-4a1c-bb50-ccd15a2079e6"},"dependencies":{"md5":"^2.2.1","sw-precache":"^5.2.1","uglify-es":"^3.3.9","webpack-merge":"^4.1.1"},"devDependencies":{"babel-eslint":"^8.2.1","chai":"^4.1.2","codecov":"^2.3.0","conventional-changelog-cli":"^1.3.5","eslint":"^4.17.0","nyc":"^11.1.0"},"files":["index.js","lib"],"nyc":{"include":["lib/**.js"],"exclude":["**/*.test.js"]},"ci":{"version":"6, 7, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/service-worker-precache-webpack-plugin.git"},"bugs":{"url":"https://github.com/hubcarl/service-worker-precache-webpack-plugin/issues"},"homepage":"https://github.com/hubcarl/service-worker-precache-webpack-plugin#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"caf61e83e4b88e6788ca174ecd471a31926f3fa1","_id":"service-worker-precache-webpack-plugin@1.3.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"feed0d7de37cdc1e308d78e56f7dbc42e0d10a48","size":7514,"noattachment":false,"key":"/service-worker-precache-webpack-plugin/-/service-worker-precache-webpack-plugin-1.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/service-worker-precache-webpack-plugin/download/service-worker-precache-webpack-plugin-1.3.3.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/service-worker-precache-webpack-plugin_1.3.3_1520481668532_0.5587146215543146"},"_hasShrinkwrap":false,"publish_time":1520481669005,"_cnpm_publish_time":1520481669005},"1.3.2":{"name":"service-worker-precache-webpack-plugin","version":"1.3.2","description":"create service worker file by webpack manifest and sw precache","main":"index.js","keywords":["service-worker","sw-precache","webpack","webpack-service-worker","pwa"],"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov > coverage.lcov && codecov --token=e8eba710-8df2-4a1c-bb50-ccd15a2079e6"},"dependencies":{"md5":"^2.2.1","sw-precache":"^5.2.1","uglify-es":"^3.3.9","webpack-merge":"^4.1.1"},"devDependencies":{"babel-eslint":"^8.2.1","chai":"^4.1.2","codecov":"^2.3.0","conventional-changelog-cli":"^1.3.5","eslint":"^4.17.0","nyc":"^11.1.0"},"files":["index.js","lib"],"nyc":{"include":["lib/**.js"],"exclude":["**/*.test.js"]},"ci":{"version":"6, 7, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/service-worker-precache-webpack-plugin.git"},"bugs":{"url":"https://github.com/hubcarl/service-worker-precache-webpack-plugin/issues"},"homepage":"https://github.com/hubcarl/service-worker-precache-webpack-plugin#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"2a55602cb4002e5f9a86715a5504bba0fdb82936","_id":"service-worker-precache-webpack-plugin@1.3.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"f18fff8dad0986491fa8057fa1b0174e9b367cd1","size":7359,"noattachment":false,"key":"/service-worker-precache-webpack-plugin/-/service-worker-precache-webpack-plugin-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/service-worker-precache-webpack-plugin/download/service-worker-precache-webpack-plugin-1.3.2.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/service-worker-precache-webpack-plugin_1.3.2_1520476949515_0.825232020700841"},"_hasShrinkwrap":false,"publish_time":1520476949563,"_cnpm_publish_time":1520476949563},"1.3.1":{"name":"service-worker-precache-webpack-plugin","version":"1.3.1","description":"create service worker file by webpack manifest and sw precache","main":"index.js","keywords":["service-worker","sw-precache","webpack","webpack-service-worker","pwa"],"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov > coverage.lcov && codecov --token=e8eba710-8df2-4a1c-bb50-ccd15a2079e6"},"dependencies":{"md5":"^2.2.1","sw-precache":"^5.2.1","uglify-es":"^3.3.9","webpack-merge":"^4.1.1"},"devDependencies":{"babel-eslint":"^8.2.1","chai":"^4.1.2","codecov":"^2.3.0","conventional-changelog-cli":"^1.3.5","eslint":"^4.17.0","nyc":"^11.1.0"},"files":["index.js","lib"],"nyc":{"include":["lib/**.js"],"exclude":["**/*.test.js"]},"ci":{"version":"6, 7, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/service-worker-precache-webpack-plugin.git"},"bugs":{"url":"https://github.com/hubcarl/service-worker-precache-webpack-plugin/issues"},"homepage":"https://github.com/hubcarl/service-worker-precache-webpack-plugin#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"a6e73ec09e7af896468331e85afc62779da2215b","_id":"service-worker-precache-webpack-plugin@1.3.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"53bff5019473281b0cdadddcccc65ad37e1c8130","size":7278,"noattachment":false,"key":"/service-worker-precache-webpack-plugin/-/service-worker-precache-webpack-plugin-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/service-worker-precache-webpack-plugin/download/service-worker-precache-webpack-plugin-1.3.1.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/service-worker-precache-webpack-plugin_1.3.1_1519972858484_0.5314414075146885"},"_hasShrinkwrap":false,"publish_time":1519972858553,"_cnpm_publish_time":1519972858553},"1.3.0":{"name":"service-worker-precache-webpack-plugin","version":"1.3.0","description":"create service worker file by webpack manifest and sw precache","main":"index.js","keywords":["service-worker","sw-precache","webpack","webpack-service-worker","pwa"],"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov > coverage.lcov && codecov --token=e8eba710-8df2-4a1c-bb50-ccd15a2079e6"},"dependencies":{"md5":"^2.2.1","sw-precache":"^5.2.1","uglify-es":"^3.3.9","webpack-merge":"^4.1.1"},"devDependencies":{"babel-eslint":"^8.2.1","chai":"^4.1.2","codecov":"^2.3.0","conventional-changelog-cli":"^1.3.5","eslint":"^4.17.0","nyc":"^11.1.0"},"files":["index.js","lib"],"nyc":{"include":["lib/**.js"],"exclude":["**/*.test.js"]},"ci":{"version":"6, 7, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/service-worker-precache-webpack-plugin.git"},"bugs":{"url":"https://github.com/hubcarl/service-worker-precache-webpack-plugin/issues"},"homepage":"https://github.com/hubcarl/service-worker-precache-webpack-plugin#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"7f9477970dd79ce84141eeb392c4c7d84a3a2d6e","_id":"service-worker-precache-webpack-plugin@1.3.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"dc650131b66de63e6036c59a4fb53f9346f6b103","size":7225,"noattachment":false,"key":"/service-worker-precache-webpack-plugin/-/service-worker-precache-webpack-plugin-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/service-worker-precache-webpack-plugin/download/service-worker-precache-webpack-plugin-1.3.0.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/service-worker-precache-webpack-plugin_1.3.0_1519874048260_0.43339529382951336"},"_hasShrinkwrap":false,"publish_time":1519874048352,"_cnpm_publish_time":1519874048352},"1.2.0":{"name":"service-worker-precache-webpack-plugin","version":"1.2.0","description":"create service worker file by webpack manifest and sw precache","main":"index.js","keywords":["service-worker","sw-precache","webpack","webpack-service-worker","pwa"],"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov > coverage.lcov && codecov --token=e8eba710-8df2-4a1c-bb50-ccd15a2079e6"},"dependencies":{"md5":"^2.2.1","sw-precache":"^5.2.1","uglify-es":"^3.3.9","webpack-merge":"^4.1.1"},"devDependencies":{"babel-eslint":"^8.2.1","chai":"^4.1.2","codecov":"^2.3.0","conventional-changelog-cli":"^1.3.5","eslint":"^4.17.0","nyc":"^11.1.0"},"files":["index.js","lib"],"nyc":{"include":["lib/**.js"],"exclude":["**/*.test.js"]},"ci":{"version":"6, 7, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/service-worker-precache-webpack-plugin.git"},"bugs":{"url":"https://github.com/hubcarl/service-worker-precache-webpack-plugin/issues"},"homepage":"https://github.com/hubcarl/service-worker-precache-webpack-plugin#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"a2f1e04b0b7c35903b0d0b7ac6786252608d7108","_id":"service-worker-precache-webpack-plugin@1.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"499668e2cd31dbac6d62851b5d1af950f6aa6457","size":7188,"noattachment":false,"key":"/service-worker-precache-webpack-plugin/-/service-worker-precache-webpack-plugin-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/service-worker-precache-webpack-plugin/download/service-worker-precache-webpack-plugin-1.2.0.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/service-worker-precache-webpack-plugin_1.2.0_1518420203732_0.2723208009759508"},"_hasShrinkwrap":false,"publish_time":1518420203769,"_cnpm_publish_time":1518420203769},"1.1.0":{"name":"service-worker-precache-webpack-plugin","version":"1.1.0","description":"create service worker file by webpack manifest and sw precache","main":"index.js","keywords":["service-worker","sw-precache","webpack","webpack-service-worker","pwa"],"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov > coverage.lcov && codecov --token=e8eba710-8df2-4a1c-bb50-ccd15a2079e6"},"dependencies":{"md5":"^2.2.1","sw-precache":"^5.2.1","uglify-es":"^3.3.9","webpack-merge":"^4.1.1"},"devDependencies":{"babel-eslint":"^8.2.1","chai":"^4.1.2","codecov":"^2.3.0","conventional-changelog-cli":"^1.3.5","eslint":"^4.17.0","nyc":"^11.1.0"},"files":["index.js","lib"],"nyc":{"include":["lib/**.js"],"exclude":["**/*.test.js"]},"ci":{"version":"6, 7, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/service-worker-precache-webpack-plugin.git"},"bugs":{"url":"https://github.com/hubcarl/service-worker-precache-webpack-plugin/issues"},"homepage":"https://github.com/hubcarl/service-worker-precache-webpack-plugin#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"d8ad79f4534b41c5e329a26f6548c4b895c70834","_id":"service-worker-precache-webpack-plugin@1.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"77493e0f794c7384df56336fd97bca04dbe9d697","size":6932,"noattachment":false,"key":"/service-worker-precache-webpack-plugin/-/service-worker-precache-webpack-plugin-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/service-worker-precache-webpack-plugin/download/service-worker-precache-webpack-plugin-1.1.0.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/service-worker-precache-webpack-plugin_1.1.0_1518143459667_0.7891431789010617"},"_hasShrinkwrap":false,"publish_time":1518143459801,"_cnpm_publish_time":1518143459801},"1.0.3":{"name":"service-worker-precache-webpack-plugin","version":"1.0.3","description":"create service worker file by webpack manifest and sw precache","main":"index.js","keywords":["service-worker","sw-precache","webpack","webpack-service-worker","pwa"],"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov > coverage.lcov && codecov --token=e8eba710-8df2-4a1c-bb50-ccd15a2079e6"},"dependencies":{"md5":"^2.2.1","sw-precache":"^5.2.1","uglify-es":"^3.3.9","webpack-merge":"^4.1.1"},"devDependencies":{"babel-eslint":"^8.2.1","chai":"^4.1.2","codecov":"^2.3.0","conventional-changelog-cli":"^1.3.5","eslint":"^4.17.0","nyc":"^11.1.0"},"files":["index.js","lib"],"nyc":{"include":["lib/**.js"],"exclude":["**/*.test.js"]},"ci":{"version":"6, 7, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/service-worker-precache-webpack-plugin.git"},"bugs":{"url":"https://github.com/hubcarl/service-worker-precache-webpack-plugin/issues"},"homepage":"https://github.com/hubcarl/service-worker-precache-webpack-plugin#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"5634216a8842135db25eed1de8a2ef0204dfe224","_id":"service-worker-precache-webpack-plugin@1.0.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"9cd0a5ee956e25db2257b82eda2f0c114a6fea97","size":6753,"noattachment":false,"key":"/service-worker-precache-webpack-plugin/-/service-worker-precache-webpack-plugin-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/service-worker-precache-webpack-plugin/download/service-worker-precache-webpack-plugin-1.0.3.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/service-worker-precache-webpack-plugin_1.0.3_1518084548089_0.18579594606352856"},"_hasShrinkwrap":false,"publish_time":1518084548138,"_cnpm_publish_time":1518084548138},"1.0.2":{"name":"service-worker-precache-webpack-plugin","version":"1.0.2","description":"create service worker file by webpack manifest and sw precache","main":"index.js","keywords":["service-worker","sw-precache","webpack","webpack-service-worker","pwa"],"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov > coverage.lcov && codecov --token=e8eba710-8df2-4a1c-bb50-ccd15a2079e6"},"dependencies":{"md5":"^2.2.1","sw-precache":"^5.2.1","uglify-es":"^3.3.9","webpack-merge":"^4.1.1"},"devDependencies":{"babel-eslint":"^8.2.1","codecov":"^2.3.0","conventional-changelog-cli":"^1.3.5","eslint":"^4.17.0","nyc":"^11.1.0"},"files":["index.js","lib"],"nyc":{"exclude":["**/*.spec.js","build"]},"ci":{"version":"6, 7, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/service-worker-precache-webpack-plugin.git"},"bugs":{"url":"https://github.com/hubcarl/service-worker-precache-webpack-plugin/issues"},"homepage":"https://github.com/hubcarl/service-worker-precache-webpack-plugin#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"30f174ee168309a346dc0e85e5a3d7d9ea973b4d","_id":"service-worker-precache-webpack-plugin@1.0.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"dbd72155c5d500aec0fb2df7165032473723f91d","size":6968,"noattachment":false,"key":"/service-worker-precache-webpack-plugin/-/service-worker-precache-webpack-plugin-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/service-worker-precache-webpack-plugin/download/service-worker-precache-webpack-plugin-1.0.2.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/service-worker-precache-webpack-plugin_1.0.2_1517996105477_0.7393582592231507"},"_hasShrinkwrap":false,"publish_time":1517996105742,"_cnpm_publish_time":1517996105742},"1.0.1":{"name":"service-worker-precache-webpack-plugin","version":"1.0.1","description":"create service worker file by webpack manifest and sw precache","main":"index.js","keywords":["service-worker","sw-precache","webpack","webpack-service-worker","pwa"],"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov > coverage.lcov && codecov --token=e8eba710-8df2-4a1c-bb50-ccd15a2079e6"},"dependencies":{"md5":"^2.2.1","sw-precache":"^5.2.1","uglify-es":"^3.3.9","webpack-merge":"^4.1.1"},"devDependencies":{"babel-eslint":"^8.2.1","codecov":"^2.3.0","conventional-changelog-cli":"^1.3.5","eslint":"^4.17.0","nyc":"^11.1.0"},"files":["index.js","lib"],"nyc":{"exclude":["**/*.spec.js","build"]},"ci":{"version":"6, 7, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/service-worker-precache-webpack-plugin.git"},"bugs":{"url":"https://github.com/hubcarl/service-worker-precache-webpack-plugin/issues"},"homepage":"https://github.com/hubcarl/service-worker-precache-webpack-plugin#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"f04f38f1de132ac7c3e49450b56ade0dcccd612d","_id":"service-worker-precache-webpack-plugin@1.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"812755b110d10d8c767ec0d5538412c094393031","size":6963,"noattachment":false,"key":"/service-worker-precache-webpack-plugin/-/service-worker-precache-webpack-plugin-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/service-worker-precache-webpack-plugin/download/service-worker-precache-webpack-plugin-1.0.1.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/service-worker-precache-webpack-plugin_1.0.1_1517993198901_0.17467366224744563"},"_hasShrinkwrap":false,"publish_time":1517993199009,"_cnpm_publish_time":1517993199009},"1.0.0":{"name":"service-worker-precache-webpack-plugin","version":"1.0.0","description":"create service worker file by webpack manifest and sw precache","main":"index.js","keywords":["service-worker","sw-precache","webpack","webpack-service-worker","pwa"],"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov > coverage.lcov && codecov --token=e8eba710-8df2-4a1c-bb50-ccd15a2079e6"},"dependencies":{"md5":"^2.2.1","sw-precache":"^5.2.1","uglify-es":"^3.3.9","webpack-merge":"^4.1.1"},"devDependencies":{"babel-eslint":"^8.2.1","codecov":"^2.3.0","conventional-changelog-cli":"^1.3.5","eslint":"^4.17.0","nyc":"^11.1.0"},"files":["index.js","lib"],"nyc":{"exclude":["**/*.spec.js","build"]},"ci":{"version":"6, 7, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/service-worker-precache-webpack-plugin.git"},"bugs":{"url":"https://github.com/hubcarl/service-worker-precache-webpack-plugin/issues"},"homepage":"https://github.com/hubcarl/service-worker-precache-webpack-plugin#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"c50c8f54c61d88dde892f4d1b83714fd5c52d74d","_id":"service-worker-precache-webpack-plugin@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"f36b5812d6ea8d675a6583242e2d6856f0ec962b","size":6827,"noattachment":false,"key":"/service-worker-precache-webpack-plugin/-/service-worker-precache-webpack-plugin-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/service-worker-precache-webpack-plugin/download/service-worker-precache-webpack-plugin-1.0.0.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/service-worker-precache-webpack-plugin-1.0.0.tgz_1517813933974_0.7928328679408878"},"directories":{},"publish_time":1517813934093,"_hasShrinkwrap":false,"_cnpm_publish_time":1517813934093},"0.0.1":{"name":"service-worker-precache-webpack-plugin","version":"0.0.1","description":"create service worker file by webpack and sw precache","main":"index.js","keywords":["service-worker","sw-precache","webpack","pwa"],"scripts":{"changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov > coverage.lcov && codecov --token=e8eba710-8df2-4a1c-bb50-ccd15a2079e6"},"dependencies":{"md5":"^2.2.1","sw-precache":"^5.2.1","uglify-es":"^3.3.9","webpack-merge":"^4.1.1"},"devDependencies":{"codecov":"^2.3.0","conventional-changelog-cli":"^1.3.5","nyc":"^11.1.0"},"files":["index.js","lib"],"nyc":{"exclude":["**/*.spec.js","build"]},"ci":{"version":"6, 7, 8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/service-worker-webpack-plugin.git"},"bugs":{"url":"https://github.com/hubcarl/service-worker-webpack-plugin/issues"},"homepage":"https://github.com/hubcarl/service-worker-webpack-plugin#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"a702211de3ceeb48d5231d8c086c4b97c68b3b1a","_id":"service-worker-precache-webpack-plugin@0.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"c2432b68e5f9c016550cd9221a4150697155312c","size":5726,"noattachment":false,"key":"/service-worker-precache-webpack-plugin/-/service-worker-precache-webpack-plugin-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/service-worker-precache-webpack-plugin/download/service-worker-precache-webpack-plugin-0.0.1.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/service-worker-precache-webpack-plugin-0.0.1.tgz_1517571278792_0.4850260214880109"},"directories":{},"publish_time":1517571278922,"_hasShrinkwrap":false,"_cnpm_publish_time":1517571278922}},"readme":"# service-worker-precache-webpack-plugin\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/service-worker-precache-webpack-plugin.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/service-worker-precache-webpack-plugin\n[travis-image]: https://img.shields.io/travis/hubcarl/service-worker-precache-webpack-plugin.svg?style=flat-square\n[travis-url]: https://travis-ci.org/hubcarl/service-worker-precache-webpack-plugin\n[codecov-image]: https://codecov.io/gh/hubcarl/service-worker-precache-webpack-plugin/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/hubcarl/service-worker-precache-webpack-plugin\n[david-image]: https://img.shields.io/david/hubcarl/service-worker-precache-webpack-plugin.svg?style=flat-square\n[david-url]: https://david-dm.org/hubcarl/service-worker-precache-webpack-plugin\n[snyk-image]: https://snyk.io/test/npm/service-worker-precache-webpack-plugin/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/service-worker-precache-webpack-plugin\n[download-image]: https://img.shields.io/npm/dm/service-worker-precache-webpack-plugin.svg?style=flat-square\n[download-url]: https://npmjs.org/package/service-worker-precache-webpack-plugin\n\ncreate service worker javascript file and manifest by webpack manifest and sw-precache, you can use with [service-worker-register](https://github.com/hubcarl/service-worker-register)\n\n- compatible [sw-precache-webpack-plugin](https://github.com/goldhand/sw-precache-webpack-plugin) plugin functionality\n- support create service worker javascript file by webpack manifest [webpack-manifest-resource-plugin](https://github.com/hubcarl/webpack-manifest-resource-plugin)\n- inject service worker manifest file content to global var `SERVICE_WORKER_MANIFEST` \n- create service worker manifest file `sw-mapping.json`\n\n## Install\n\n```bash\nnpm i service-worker-precache-webpack-plugin --save-dev\n```\n\n## Usage\n\n### create `sw-precache-webpack-plugin` service worker file\n\n```js\nconst ServiceWorkerWebpackPlugin = require('service-worker-precache-webpack-plugin');\nmodule.exports = {\n  plugins:[\n    new ServiceWorkerWebpackPlugin({\n        cacheId: 'my-project-name',\n        dontCacheBustUrlsMatching: /\\.\\w{8}\\./,\n        filename: 'service-worker.js',\n        minify: true,\n        navigateFallback: PUBLIC_PATH + 'index.html',\n        staticFileGlobsIgnorePatterns: [/\\.map$/, /sw-manifest\\.json$/],\n    })\n  ]  \n}\n```\nmore configuration [sw-precache-webpack-plugin](https://github.com/goldhand/sw-precache-webpack-plugin)\n\n### create `sw-precache-webpack-plugin` service worker file by webpack manifest\n\n#### create service worker file based on the specified webpack entry\n\n```js\nmodule.exports = {\n  plugins: [\n    new ServiceWorkerWebpackPlugin({\n      prefix: 'sw',\n      strategy: [\n        {\n          name: 'index',\n          entry: 'index/index',\n        },\n        {\n          name: 'category',\n          entry: ['category/category', 'about/about'],\n          options: {\n            runtimeCaching: [\n              {\n                urlPattern: /^https:\\/\\/category\\.com\\/api/,\n                handler: 'fastest'\n              }\n            ]\n          }\n        }\n      ],\n      manifest: 'config/manifest.json'\n    }\n  ]\n}\n```\n\n### support create an independent service worker file for webpack each entry\n\n```js\nmodule.exports = {\n    plugins:[\n        new ServiceWorkerWebpackPlugin({\n            prefix: 'sw',\n            strategy: 'multiple'\n        }\n    ] \n}\n```\n\n\n## Configuration\n\n- compatible [sw-precache-webpack-plugin](https://github.com/goldhand/sw-precache-webpack-plugin) configuration\n\n\n## Extended Configuration \n\n```js\nnew ServiceWorkerWebpackPlugin(option);\n```\n\n- `option.prefix` : {String}, optional - Service worker file prefix, default: `sw`. such as:\n\n```js\nnew ServiceWorkerWebpackPlugin({\n    prefix: 'sw',\n    filename: 'home.js'\n});\n```\nThe final generated file is `sw-home.js`\n\n\n- `option.manifest` {Object}, optional - The format is [webpack-manifest-resource-plugin](https://github.com/hubcarl/webpack-manifest-resource-plugin). when create service worker by webpack manifest, you must set this config. if `config/manifest.json` exists, will use this manifest config.\n\n- `option.strategy` {String|Array} - How to create service worker file by what strategy. The value optional : `single`, `multiple`, and Array config. default: `single`\n\n```\nsingle: create a service worker file by all webpack entry\nmultiple: create an independent service worker file for webpack each entry\narray type: if the value is array, create service worker file based on the specified webpack entry\n```\n\n```js\n{\n  strategy: [\n    {\n        name: 'index',\n        entry: 'index/index',\n    },\n    {\n        name: 'category',\n        entry: ['category/category', 'about/about'],\n        options: {\n        runtimeCaching: [\n            {\n             urlPattern: /^https:\\/\\/category\\.com\\/api/,\n             handler: 'fastest'\n            }\n        ]\n      }\n    }\n ]\n}\n```\nthe option.strategy[] array item config:\n\n- `name`: {String} - service worker file name.\n- `entry`: {String|Array} - the webpack entry name.\n- `options`: {Object}, optional - the `sw-precache-webpack-plugin` option.\n\n## Manifest\n\n- The plugin will create service worker manifest file, solve the service worker cache problem by manifest.\n\n```\n// sw-manifest.js\n{\n  \"config\": {\n    \"localPublicPath\": \"/public/\",\n    \"publicPath\": \"/public/\"\n  },\n  \"service-worker.js\": \"/public/service-worker.567ddfd3.js\"\n}\n```\n\n- use with [service-worker-register](https://github.com/hubcarl/service-worker-register)\n\n```js\nconst serviceWorkerRegister = require('service-worker-register');\n// The service-worker.js name will get really url address by sw-mapping.json file\nserviceWorkerRegister.register('service-worker.js');\n```\n\n## Relation\n\n fork [sw-precache-webpack-plugin](https://github.com/goldhand/sw-precache-webpack-plugin)\n\n## License\n\n[MIT](LICENSE)\n","_attachments":{},"homepage":"https://github.com/hubcarl/service-worker-precache-webpack-plugin#readme","bugs":{"url":"https://github.com/hubcarl/service-worker-precache-webpack-plugin/issues"},"license":"MIT"}