github-npm
Version:
Release npm packages on Github
67 lines (45 loc) • 2.17 kB
Markdown
<p align="center">
<img src="https://cdn.abraham.gq/projects/github-npm/logo.svg" width="300px">
</p>
<h1 align="center">github - npm</h1>
<p align="center">
<a href="https://npmjs.org/github-npm"><img src="https://nodei.co/npm/github-npm.png?compact=true" width="300px"></a>
</p>
> Release npm packages on Github never had been easier
<!-- Badges -->
[![Patreon][patreon]](https://www.patreon.com/abranhe)
[![Cash Me][cash-me]](https://cash.me/$abranhe)
[](https://github.com/abranhe)
[](https://travis-ci.org/abranhe/github-npm)
[](https://www.npmjs.com/package/github-npm)
[](https://github.com/abranhe/github-npm/blob/master/LICENSE)
<!-- Badges -->
# Usage
```
Usage:
$ npx github-npm <command...>
Where version can be:
patch | minor | major
Options:
-h --help Show help and exit
--version View package version
<version> Select between <patch, minor, major>
<version> -m <message> Add a custom message to commit
Eg: $ github-npm patch -m "drop new realese"
```
# Api
- Go to master branch
- Publish npm package
- Commit changes with a default message of `package version published` or with custom message using `-m "your custom message"`
- Create a new semantic tag and publish it
Read more on my [blog](https://blog.abranhe.com/2018/06/30/release-npm-packages-on-github).
# Author
|[](https://abranhe.com)|
| :-: |
| [Carlos Abraham](https://github.com/abranhe) |
# Related
[**gong** ](https://github.com/abranhe/gong): Gem on Github: Release gem packages easier on Github.
# License
[MIT](https://github.com/abranhe/github-npm/blob/master/LICENSE) License © [Carlos Abraham](https://github.com/abranhe)
[cash-me]: https://cdn.abraham.gq/badges/cash-me.svg
[patreon]: https://cdn.abraham.gq/badges/patreon.svg