files:

- package.json

plugins:

  prerelease:

    Linting config files:
      plugin: bumped-finepack

  postrelease:

    Generating CHANGELOG file:
      plugin: bumped-changelog

    Commiting new version:
      plugin: bumped-terminal
      command: git add CHANGELOG.md package.json && git commit -m "Release $newVersion"

    Detecting problems before publish:
      plugin: bumped-terminal
      command: git-dirty && npm test

    Publishing tag at Github:
      plugin: bumped-terminal
      command: git tag $newVersion && git push && git push --tags

    Publishing at NPM:
      plugin: bumped-terminal
      command: npm publish
