0.1.0 • Published 10 years ago
sw2cdv v0.1.0
sw2cdv
Global installation
npm install -g sw2cdvTry it on a sample service worker app:
mkdir swtest
cd swtest
git clone https://github.com/mwoghiren/ServiceWorkerSample.git
cd ServiceWorkerSample
sw2cdv create ios
sw2cdv run iosClone your own copy of sw2cdv:
git clone https://github.com/MobileChromeApps/sw2cdv.git
cd sw2cdv
npm install
# npm link # Optional
./dev-bin/git-up.jsTo try it using the gulp workflow:
cd tests/gulp
ln -sf ../MwoghirenServiceWorkerSample/ app # Or any other SW app
gulp iosTo use the command line sw2cdv:
cd tests/MwoghirenServiceWorkerSample/ # Or any other SW app
sw2cdv create ios
sw2cdv run iosNotes
- Uses the web app manifest (
manifest.json) to read out aservice_workervalue.