mkappcache

0.8.0 • Public • Published

ClI command to create appcache files

Install:

npm install -g mkappcache

npm install --save-dev mkappcache

Usage:

Cli command to create appcache files

Usage $ mkappcache [outFile] [options] default: outfile=app.appcache, uses CWD for all actions

Options -c config, --config=./path default looks for config in CWD

-m mkconfig, --mkconfig
      writes a config file to the current working directory
      edit config file to needs

-h help, --help

Examples $ mkappcache app.appcache -c ./mkappcache-config.js

Configuration File Format:

module.exports = { wk_dir : './dist', remove : './dist/', network : ['*'], prepend : '', fallbacks : [{get:'/',fallto:'index.html'}], exfile : ['app.appcache','mkappcache-config.js'] }

Readme

Keywords

Package Sidebar

Install

npm i mkappcache

Weekly Downloads

1

Version

0.8.0

License

Apache-2.0

Last publish

Collaborators

  • aellison