Skip to content

Commit

Permalink
update AUTHORS when run version
Browse files Browse the repository at this point in the history
Signed-off-by: Outsider <outsideris@gmail.com>
  • Loading branch information
outsideris committed Oct 13, 2019
1 parent f1f6aa8 commit 5486dc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package-scripts.js
Expand Up @@ -307,17 +307,17 @@ module.exports = {
description: 'Build API docs'
}
},
updateContributors: {
script: 'contributors',
description: 'Update list of contributors in package.json'
updateAuthors: {
script: 'scripts/update-authors.js',
description: 'Update list of AUTHORS'
},
linkifyChangelog: {
script: 'node scripts/linkify-changelog.js',
description: 'Add/update GitHub links in CHANGELOG.md'
},
version: {
script:
'nps updateContributors && nps linkifyChangelog && git add -A ./package.json ./CHANGELOG.md',
'nps updateAuthors && nps linkifyChangelog && git add -A ./AUTHORS ./CHANGELOG.md',
description: 'Tasks to perform when `npm version` is run'
}
}
Expand Down

0 comments on commit 5486dc5

Please sign in to comment.