Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Latest commit

 

History

History
executable file
·
67 lines (42 loc) · 1.97 KB

readme.md

File metadata and controls

executable file
·
67 lines (42 loc) · 1.97 KB

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.