0.0.9 • Published 2 years ago

@gmjs/npm-publish-cli v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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.

0.0.3

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago