{ "name": "example", "version": "0.0.0", "private": true, "scripts": { "start": "parcel src/index.html --public-url /", "build": "parcel build --out-dir build src/index.html --public-url /" }, "devDependencies": { "parcel-bundler": "^1.12.3", "parcel-plugin-sw-cache": "+" }, "_cache": { "strategy": "inject", "swSrc": "./src/sw.js", "swDest": "service-worker.js" }, "cache": { "swDest": "service-worker.js", "runtimeCaching": [ { "urlPattern": [ "https://cors-anywhere.herokuapp.com/https://www.unixtimestamp.com" ], "handler": "networkFirst" }, { "urlPattern": "https://raw.githubusercontent.com/parcel-bundler/website/01a1f7dd/src/assets/parcel@3x.png", "handler": "cacheFirst", "options": { "cacheableResponse": { "statuses": [ 0 ] } } } ] } }