@litemotion/edition
v0.0.6
Published
Managing the edition change for manifest.json of chrome extension projects.
Readme
edition
Manage the edition and version changes of manifest.json in a chrome extension project.
Installation
Directly run with npx @litemotion/edition [param|flags].
Usage
Usage
edition Display current edition used in the project
edition x Switch the project to the edition x
edition --help Display this help message
edition -h same as above
edition -ls List of the possible editions of the project
edition --version m.n.b Change the version of all editions to m.n.b
edition -v m.n.b Same as above
edition --version ++ Increase the build number of all editions by 1
edition -v ++ Same as aboveConfiguration
Define different manifest.json for different editions with the file edition.config.json located at the root of the project floder.
Example of ediion.config.json:
{
"editionA":{
"src":"./editions/manifest.A.json"
},
"editionB":{
"src":"./editions/manifest.B.json"
}
}