create-sw

v0.0.6
# create-sw A tool to generate robust Service Worker for your application. Refactored and improved from [sw-precache](https://github.com/GoogleChromeLabs/sw-precache)

prepublish

babel lib/runtime.js > runtime.js

dist

babel lib/runtime.js > runtime.js

test

istanbul cover _mocha test/test.js

demo

cd demo && webpack dist/index.js dist/bundle.js && node ../cli.js --config=sw-config.js && cd ..

lint

eslint lib/*.js runtime.js cli.js
npm i create-sw

Metadata

Downloads

Maintainers