npm

Need private packages and team management tools?Check out npm Orgs. »

ape-releasing

5.0.7 • Public • Published

ape-releasing

Build Status Code Climate Code Coverage Dependency Status npm Version JS Standard

ape framework module for releasing tasks.

Usage

Release a npm Package

.apeReleasing.releasePackage() function will do:

  1. Create a git tag and push to remote.
  2. Publish package to npm.
  3. Increment package.json version number.
  4. Commit and push git local changes.
#!/usr/bin/env node
'use strict'
 
const apeReleasing = require('ape-releasing')
 
// Release a npm package
apeReleasing.releasePackage({
  beforeRelease: [ // Scripts run before releasing
    './ci/build.js',
    './ci/test.js'
  ]
}).then(() => {
  /* ... */
})
 

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.

Links

Keywords

install

npm i ape-releasing

Downloadsweekly downloads

1,303

version

5.0.7

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability