0.0.12 • Published 7 years ago

webapp-gen v0.0.12

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

WebApp Generator

An helper for cross browser webapps generation.

Use a Web App Manifest for add-to-home feature, icons generation and cross-browser offline behavior.

Install

NPM

$ npm install webapp-gen --save-dev

Quick use

var webapp = require('webapp-gen');

webapp(manifest, options, function() {
    console.log('Done!');
});

Simple configuration

  • manifest: the Web App Manifest path or its javascript object representation.
  • options: a JSON file path or its javascript object representation.
    • dist: the path of the webapp.
    • src: the bootstrap html filename (default index.html)
    • icon: the image path for icon generation (false prevent icons to be created), or
      • src: the image path.
      • path: the sub path where the icons will be placed.
    • browser: handle browser mode (boolean).
    • ios: handle ios home screen app (boolean).
    • chrome: handle chrome progressive web app (boolean).
    • windows: handle windows 8/10 home screen app (boolean).
    • offline
      • serviceWorker: use service workers for offline app usage (boolean).
      • appacache: use appacache for offline app usage (boolean).
0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago