From 34d833c41645b50c2a59d60314e8fa7cdac9d9e0 Mon Sep 17 00:00:00 2001 From: Outsider Date: Sun, 13 Oct 2019 18:27:18 +0900 Subject: [PATCH] update AUTHORS when run version Signed-off-by: Outsider --- package-scripts.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package-scripts.js b/package-scripts.js index 6d9985b90d..a4ab0429e8 100644 --- a/package-scripts.js +++ b/package-scripts.js @@ -307,9 +307,9 @@ 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', @@ -317,7 +317,7 @@ module.exports = { }, 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' } }