Comparing version 1.2.0 to 1.3.0
@@ -11,2 +11,6 @@ { | ||
"applyImmediately": true, | ||
// Add here, a list of files that should be cached during the installation of the webservice. | ||
"appShell": [], | ||
// If this is set to true, every request for http:// will be redirected to https:// | ||
"enforceSSL": false, | ||
// Here is where you will add all of your rules. | ||
@@ -98,2 +102,3 @@ // You can create as many as you want, and name them as you will. | ||
"apply": { | ||
// indexedDB support is still under development... | ||
"indexedDB": { | ||
@@ -105,3 +110,3 @@ "name": "userData", | ||
} | ||
}, | ||
}/*, | ||
"updates": { | ||
@@ -143,4 +148,4 @@ "match": { "path": "\/api\/updates/" }, | ||
} | ||
} | ||
}*/ | ||
} | ||
} |
{ | ||
"name": "dsw", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Dynamic Service Worker, offline Progressive Web Apps much easier", | ||
@@ -14,4 +14,4 @@ "bin": { | ||
"lint": "echo ':: Linting the source files:' && eslint --ignore-pattern manifest-model.json --quiet src/** && echo 'Done linting'", | ||
"docs": "echo ':: Generating documentation:' && docco -m -o docs/ docs/config-example.js", | ||
"build": "browserify src/main.js -o dsw.js -t [ babelify --presets [ es2015 ] ] && npm run docs && echo 'Done building'", | ||
"docs": "echo ':: Generating documentation:' && docco -m -o docs/ docs/config-example.js && gh-pages -d docs", | ||
"build": "browserify src/main.js -o dsw.js -t [ babelify --presets [ es2015 ] ] && echo 'Done building'", | ||
"prepublish": "npm run lint", | ||
@@ -51,2 +51,3 @@ "watch": "watch 'npm run build' src", | ||
"eslint": "^3.0.1", | ||
"gh-pages": "^0.11.0", | ||
"minifier": "^0.7.1", | ||
@@ -53,0 +54,0 @@ "mocha": "latest", |
@@ -9,3 +9,4 @@ [![Version](https://img.shields.io/npm/v/dsw.svg?label=Version&maxAge=2592000)](https://www.npmjs.com/package/dsw) | ||
DSW allows you to enable and use Service Workers in a much easier way, also helping you to create and maintain your Progressive Web Apps working offline. | ||
DSW allows you to enable and use Service Workers in a much easier way, also helping you to create and maintain your Progressive Web Apps working offline.<br/> | ||
You will simply have to create setup in a JSON file how your service worker is supposed to deal with requests. Read the [commented JSON example](https://naschq.github.io/dsw/config-example.html) or the documentation and examples below. | ||
@@ -12,0 +13,0 @@ ## Installing it |
Sorry, the diff of this file is not supported yet
1551898
4134
338
14