2015-11-03 01:48:32 +03:00
|
|
|
files: [
|
|
|
|
'package.json'
|
|
|
|
]
|
|
|
|
|
|
|
|
plugins:
|
|
|
|
prerelease:
|
2016-08-24 10:51:21 +03:00
|
|
|
|
2015-11-03 01:48:32 +03:00
|
|
|
'Linting config files':
|
|
|
|
plugin: 'bumped-finepack'
|
|
|
|
|
|
|
|
'Linting projects files':
|
|
|
|
plugin: 'bumped-terminal'
|
|
|
|
command: 'npm run lint'
|
|
|
|
|
|
|
|
'Preparing build':
|
|
|
|
plugin: 'bumped-terminal'
|
|
|
|
command: 'npm run prepublish'
|
|
|
|
|
2016-08-24 10:51:21 +03:00
|
|
|
'Generating CHANGELOG file':
|
|
|
|
plugin: 'bumped-changelog'
|
|
|
|
|
2015-11-03 01:48:32 +03:00
|
|
|
postrelease:
|
2016-08-24 10:51:21 +03:00
|
|
|
|
2015-11-11 23:58:28 +03:00
|
|
|
'Commiting new version':
|
|
|
|
plugin: 'bumped-terminal'
|
2017-01-05 04:42:18 +03:00
|
|
|
command: 'git add CHANGELOG.md package.json && git commit CHANGELOG.md package.json -m "Release $newVersion"'
|
2016-08-24 10:51:21 +03:00
|
|
|
|
|
|
|
'Detecting problem before publish':
|
|
|
|
plugin: 'bumped-terminal'
|
|
|
|
command: 'git-dirty'
|
2015-11-11 23:58:28 +03:00
|
|
|
|
2015-11-05 19:45:47 +03:00
|
|
|
'Publishing tag at Github':
|
2015-11-03 14:51:31 +03:00
|
|
|
plugin: 'bumped-terminal'
|
2016-09-03 17:45:58 +03:00
|
|
|
command: 'git tag $newVersion && git push origin dev && git push --tags origin dev'
|
2015-11-03 14:51:31 +03:00
|
|
|
|
|
|
|
'Publishing at NPM':
|
|
|
|
plugin: 'bumped-terminal'
|
|
|
|
command: 'npm publish'
|