0.8.0 • Published 8 years ago
mkappcache v0.8.0
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 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' }