ape-releasing
ape framework module for releasing tasks.
Usage
Release a npm Package
.apeReleasing.releasePackage()
function will do:
- Create a git tag and push to remote.
- Publish package to npm.
- Increment package.json version number.
- Commit and push git local changes.
#!/usr/bin/env node'use strict' const apeReleasing = // Release a npm packageapeReleasing
Options
Available options for .releasePackage(options, callback)
method.
Name | Type | Value |
---|---|---|
beforeRelease | function[] | Tasks to do before release |
afterRelease | function[] | Tasks to do after release |
skipInteractive | boolean | Skip confirming before releasing. |
License
This software is released under the MIT License.