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 problem 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'
