@gmjs/npm-publish-cli
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

CLI for Publishing to NPM

This is a CLI for publishing a JavaScript/TypeScript NPM project.

Installation

npm install @gmjs/npm-publish-cli

It 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 command

Publish

Usage: npmpub pub|p [options]

Publish npm package.

Options:
  --dry-run   Dry run (fake publish).
  -h, --help  display help for command

Update 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 command

Configuration

Just the options specified in the usage above.

Package Sidebar

Install

npm i @gmjs/npm-publish-cli

Weekly Downloads

55

Version

0.0.9

License

MIT

Unpacked Size

16.7 kB

Total Files

32

Last publish

Collaborators

  • mrzli