1 | files: [
|
2 | 'package.json'
|
3 | ]
|
4 |
|
5 | plugins:
|
6 |
|
7 | prerelease:
|
8 |
|
9 | 'Linting config files':
|
10 | plugin: 'bumped-finepack'
|
11 |
|
12 | postrelease:
|
13 |
|
14 | 'Generating CHANGELOG file':
|
15 | plugin: 'bumped-changelog'
|
16 |
|
17 | 'Committing new version':
|
18 | plugin: 'bumped-terminal'
|
19 | command: 'git add CHANGELOG.md package.json && git commit -m "Release $newVersion"'
|
20 |
|
21 | 'Detecting problems before publish':
|
22 | plugin: 'bumped-terminal'
|
23 | command: 'git-dirty && npm run clean && npm test'
|
24 |
|
25 | 'Publishing tag at GitHub':
|
26 | plugin: 'bumped-terminal'
|
27 | command: 'git tag $newVersion && git push && git push --tags'
|
28 |
|
29 | 'Publishing at NPM':
|
30 | plugin: 'bumped-terminal'
|
31 | command: 'npm publish'
|