Yeoman generator for a progressive webapp.
Clone or download
hemanth Merge pull request #17 from craigiswayne/patch-1
Send correct variable ``isPushNotifiation``
Latest commit f6ac112 Oct 1, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
generators/app Send correct variable ``isPushNotifiation`` Sep 30, 2018
test using ava for testing May 15, 2016
.editorconfig init0 Feb 12, 2016
.gitattributes init0 Feb 12, 2016
.gitignore using ava for testing May 15, 2016
.travis.yml node>=4 May 9, 2016
LICENSE init0 Feb 12, 2016
README.md Updated readme Apr 1, 2016
gulpfile.js using ava for testing May 15, 2016
package.json 0.2.0 Jun 29, 2016

README.md

generator-pwa NPM version Build Status

Progressive Webapp generator

Installation

npm install -g yo
npm install -g generator-pwa

Then generate your new project:

yo pwa

This would generate a dir structure like:

app/
|____css
| |____style.css
|____favicon.ico
|____images
| |____touch
| | |____apple-touch-icon.png
| | |____chrome-touch-icon-192x192.png
| | |____icon-128x128.png
| | |____ms-touch-icon-144x144-precomposed.png
|____index.html
|____js
| |____app.js
| |____push.js
|____server.js
|____sw.js

Run

  gulp

For push notification

  npm start

##TODO

  • - Prompt for all manifest.json related fields.

  • - AskFor static-cache-path (automatically pick the required files)?

  • - Use async-await in sw.js.

  • - Add background sync.

  • - Add a gif!

License

MIT © Hemanth.HM