2.7.3 • Published 2 years ago

@dingos/pwa-kit-core v2.7.3

Weekly downloads
-
License
MIT
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
2.7.3

2 years ago

2.7.0

2 years ago

2.7.2

2 years ago

2.5.0

2 years ago

2.2.28

3 years ago

2.2.29

3 years ago

2.2.32-alpha.0

3 years ago

2.2.31

3 years ago

2.2.17

3 years ago

2.2.18

3 years ago

2.2.15

3 years ago

2.2.16

3 years ago

2.2.13

3 years ago

2.2.14

3 years ago

2.2.11

3 years ago

2.2.12

3 years ago

2.2.10

3 years ago

2.2.24-beta.0

3 years ago

2.2.19

3 years ago

2.2.26

3 years ago

2.2.27

3 years ago

2.2.24

3 years ago

2.2.25

3 years ago

2.2.22

3 years ago

2.2.23

3 years ago

2.2.20

3 years ago

2.2.21

3 years ago

2.2.20-beta.0

3 years ago

2.2.9

3 years ago

2.2.11-beta.0

3 years ago

2.2.11-beta.1

3 years ago

2.2.5

3 years ago

2.2.7

3 years ago

2.2.6

3 years ago

2.2.8

3 years ago

2.2.3

3 years ago

2.2.2

3 years ago

2.2.4

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.12

3 years ago

2.1.13

3 years ago

2.1.11

3 years ago

1.2.0

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

2.1.2

3 years ago

2.0.3

3 years ago

2.1.1

3 years ago

2.0.2

3 years ago

2.1.4

3 years ago

2.0.5

3 years ago

2.1.3

3 years ago

2.0.4

3 years ago

2.1.6

3 years ago

2.0.7

3 years ago

2.1.5

3 years ago

2.0.6

3 years ago

2.1.8

3 years ago

2.0.9

3 years ago

2.1.7

3 years ago

2.0.8

3 years ago

2.1.0

3 years ago

2.0.1

4 years ago

2.0.0

4 years ago

2.1.9

3 years ago

2.1.10

3 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago