@gmjs/npm-publish-cli
v0.0.9
Published
npm-publish-cli
Maintainers
Readme
CLI for Publishing to NPM
This is a CLI for publishing a JavaScript/TypeScript NPM project.
Installation
npm install @gmjs/npm-publish-cliIt can be installed locally, and added to an npm script, for example like this:
{
"scripts": {
"pack": "npmpub pack",
"pub": "npmpub pub"
}
}Usage
Package
This is a prerequisite for publishing.
Usage: npmpub pack|a [options]
Package project.
Options:
-h, --help display help for commandPublish
Usage: npmpub pub|p [options]
Publish npm package.
Options:
--dry-run Dry run (fake publish).
-h, --help display help for commandUpdate Version
Usage: npmpub update-version|u [options]
Update version.
Options:
-m, --major Update major version.
-n, --minor Update minor version.
-p, --patch Update patch version.
-h, --help display help for commandConfiguration
Just the options specified in the usage above.
