files:
  - package.json
plugins:
  prerelease:
    Adding authors:
      plugin: bumped-terminal
      command: npx git-authors-cli
    Linting config files:
      plugin: bumped-finepack
  postrelease:
    Generating CHANGELOG file:
      plugin: bumped-changelog
    Committing new version:
      plugin: bumped-terminal
      command: 'git add CHANGELOG.md package.json && git commit -m "chore(release): v$newVersion"'
    Detecting problems before publish:
      plugin: bumped-terminal
      command: 'git-dirty && npm test'
    Publishing tag to GitHub:
      plugin: bumped-terminal
      command: 'git tag $newVersion && git push && git push --tags'
    Publishing to NPM:
      plugin: bumped-terminal
      command: npm publish
