Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phuu/npm-release
Making releasing to npm so easy a kitten could probably do it™
https://github.com/phuu/npm-release
Last synced: 2 months ago
JSON representation
Making releasing to npm so easy a kitten could probably do it™
- Host: GitHub
- URL: https://github.com/phuu/npm-release
- Owner: tgvashworth
- License: mit
- Created: 2013-05-06T17:20:18.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-03-13T18:54:54.000Z (over 6 years ago)
- Last Synced: 2024-04-13T21:00:50.485Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 191 KB
- Stars: 102
- Watchers: 2
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-npm - npm-release - Making releasing to npm so easy a kitten could probably do it™. (Packages / Publishing)
README
# npm-release
A little script to help release `npm` modules. It:
- Bumps the version in `package.json`
- Commits 'Release vX.X.X-X'
- Tags
- Pushes the commit & tag (`git push && git push --tags`)
- Releases to npm (with `npm publish`)You can use this (I do!) but I recommend looking at [semantic-release][s-r] too.
## Usage
You must use `npm-release` in a folder with a `package.json` and a remote to push to.
`npm-release 0.0.2`
It supports the same version options as `npm version`.
`npm-release [ | major | minor | patch | build]`
And custom commit messages:
`npm-release major -m "#yolo"`
Finger-licking good!
## Install
`npm install -g npm-release`
## License
MIT
[s-r]: https://github.com/semantic-release/semantic-release