Skip to content

Commit 3fa3fed

Browse files
committed
Update scripts
1 parent 93d37a3 commit 3fa3fed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"node": ">= 8"
5454
},
5555
"scripts": {
56-
"authors": "git-authors-cli",
56+
"authors": "git-authors-cli && finepack package.json",
57+
"authors:commit": "npm run authors && git add package.sjon && git commit -m 'Update contributors' && git push origin master",
5758
"build": "gulp build",
5859
"changelog": "conventional-changelog --release-count=0 > CHANGELOG.md",
5960
"changelog:commit": "npm run changelog && git add CHANGELOG.md && git commit -m 'Update Changelog' && git push origin master",
@@ -64,7 +65,7 @@
6465
"precommit": "lint-staged",
6566
"pretest": "npm run lint",
6667
"pretty": "prettier-standard index.js {test,src}/**/*.js --single-quote",
67-
"publish": "npm run upgrade && lerna publish --sort && npm run authors && npm run changelog:commit",
68+
"publish": "npm run upgrade && lerna publish --sort && npm run authors:commit && npm run changelog:commit",
6869
"server:dev": "browser-sync start --server --files \"index.html, README.md, static/**/*.(css|js)\"",
6970
"test": "lerna exec npm run test",
7071
"upgrade": "lerna exec ncu -- --error-level 2"

0 commit comments

Comments
 (0)