diff --git a/.releaserc.json b/.releaserc.json new file mode 100644 index 0000000..5bc980e --- /dev/null +++ b/.releaserc.json @@ -0,0 +1,68 @@ +{ + "plugins": [ + [ + "@semantic-release/commit-analyzer", + { + "releaseRules": [ + { + "breaking": true, + "release": "major" + }, + { + "revert": true, + "release": "patch" + }, + { + "type": "feat", + "release": "minor" + }, + { + "type": "fix", + "release": "patch" + }, + { + "type": "perf", + "release": "patch" + }, + { + "type": "dep", + "release": "patch" + }, + { + "type": "refactor", + "release": "patch" + } + ] + } + ], + "@semantic-release/release-notes-generator", + [ + "@semantic-release/changelog", + { + "changelogFile": "CHANGELOG.md" + } + ], + "@semantic-release/npm", + [ + "@semantic-release/git", + { + "assets": [ + "package.json", + "CHANGELOG.md", + "npm-shrinkwrap.json" + ] + } + ] + ], + "branches": [ + "master", + { + "name": "develop", + "prerelease": true + }, + { + "name": "develop-*", + "prerelease": true + } + ] +} \ No newline at end of file