39 lines
901 B
Plaintext
39 lines
901 B
Plaintext
files: [
|
|
'package.json'
|
|
]
|
|
|
|
plugins:
|
|
prerelease:
|
|
|
|
'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'
|
|
|
|
'Generating CHANGELOG file':
|
|
plugin: 'bumped-changelog'
|
|
|
|
postrelease:
|
|
|
|
'Commiting new version':
|
|
plugin: 'bumped-terminal'
|
|
command: 'git add CHANGELOG.md package.json && git commit CHANGELOG.md package.json -m "Release $newVersion"'
|
|
|
|
'Detecting problem before publish':
|
|
plugin: 'bumped-terminal'
|
|
command: 'git-dirty'
|
|
|
|
'Publishing tag at Github':
|
|
plugin: 'bumped-terminal'
|
|
command: 'git tag $newVersion && git push origin dev && git push --tags origin dev'
|
|
|
|
'Publishing at NPM':
|
|
plugin: 'bumped-terminal'
|
|
command: 'npm publish'
|