pwa-prepare

Prepare your application for PWA features.

Usage no npm install needed!

<script type="module">
  import pwaPrepare from 'https://cdn.skypack.dev/pwa-prepare';
</script>

README

PWA Prepare

Prepare your application for PWA features

Travis Status AppVeyor Status Codacy Status Dependencies Status Version Status Download Status Gitter Chat

Why it's awesome

This library reads the files that will be published, adds hashes to the files, generates the cache of your files (service worker).

Getting Started

Install with npm

$ npm install -g pwa-prepare

NOTE: Install this npm package with -g to global use or with -D to add the package as a devDependency in the package.json file of your project.

Install with Yarn

$ yarn add pwa-prepare

Usage

$ pwa-prepare dist

NOTE: dist is output by default when output is undefined

CLI

$ pwa-prepare --help

  Usage:

    $ pwa-prepare [<output>] [<options>]

  Options:

    -h, --help              Display help information
    -v, --version           Output version

  Examples:

    $ pwa-prepare
    $ pwa-prepare dist

Contributing

Want to contribute? Follow these recommendations.

License

Designed with ♥ by CJ Patoilo. Licensed under the MIT License.