xtra-ui-publish
v1.0.1
Published
A script that can be used to automatically publish packages to npm.
Downloads
4
Maintainers
Readme
xtra-ui-publish
This Command Line tool is a utility for automatically publishing NPM packages based on the version number in the package.json file.
Prerequisites
In order to use this utility you must have the following installed:
- NodeJS 12+
- npm
Usage
You can use this package without installing any global or local dependencies by running it with npx (recommended):
npx -p xtra-ui-publish xtra-ui-publish -b <branch-name>
Available options
The following table list out some options for the xtra-ui-publish
command. All these options can be configured:
| Option | Description | Default |
| ------ | ---------------------- | ------- |
| -b
| The branch you are on. | dev |
The branch flag is used to determine whether a latest package can be published. Latest packages may only be published for the master branch (
-b master
).