0.3.3 • Published 2 years ago

@dingos/web-fs v0.3.3

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
2 years ago

PWA-KIT_CLI usage instructions:


Default you have installed node.

Installation

npm install pwa-kit-cli -g

Command Line Interface

kit <command> [options]

create manifest.json file or serviceWorker.js file

kit gen [optsions]

options
OptionDescription
-t, --typeThe file type,manifest or serviceWorker,Optional value <all | manifest | sw>,The 'all' is generated for both representatives.
-o, --outPath of the file output
-n, --namethe name field for manifest.json.
-sn, --shortName'the shortName field for manifest.json'.
-d, --displaythe display field for manifest.json, default value standalone
-s, --startUrlthe startUrl field for manifest.json.
-i, --iconsthe icons field for manifest.json.
-bc, --backgroundColorthe backgroundColor field for manifest.json.
-tc, --themeColorthe themeColor field for manifest.json.
--descriptionthe description field for manifest.json.
--scopethe scope field for manifest.json.
service worker file or manifest.json file for inject html

kit inject <htmlPath> [optsions]

OptionDescription
<htmlPath>Injected html file path, this option is required.
-mp, --manifestPathThe manifest path of being injected.
-sp, --swPathThe service worker path of being injected
creates a PWA project

kit init <projectPath> [optsions]

OptionDescription
<projectPath>create a PWA project, It is best to be one empty directory
-tpl --templateGenerated project templates, currently only supporting html.

* This command supports all options for the gen command.

upload a PWA project

kit upload <projectPath>

OptionDescription
<projectPath>To upload a local pwa project to the service side, pathProject is the file path for the project to upload
0.3.2

2 years ago

0.3.1

2 years ago

0.3.3

2 years ago

0.3.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago