Skip to content

Commit 76c16ab

Browse files
committed
chore: Update contributors (and make it run on prepublishOnly)
1 parent a78fc60 commit 76c16ab

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

packages/ohm-js/package.json

+10-7
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@
3737
"test": "ava && ava --config ava-ts.config.js test/test-typings.ts",
3838
"test-watch": "ava --watch",
3939
"pre-commit": "yarn run lint && yarn run build && yarn run test",
40+
"prepublishOnly": "bash scripts/update-contributors",
4041
"prepack": "cp ../../README.md . && yarn build",
4142
"postpack": "rm README.md",
4243
"unsafe-bootstrap": "bash scripts/bootstrap",
43-
"version-package": "bash scripts/version",
44+
"update-contributors": "bash scripts/update-contributors",
4445
"watch": "webpack --mode=development --watch"
4546
},
4647
"license": "MIT",
@@ -52,18 +53,19 @@
5253
"Tony Garnock-Jones <[email protected]>",
5354
"Saketh Kasibatla <[email protected]>",
5455
"Lionel Landwerlin <[email protected]>",
55-
"Ray Toal <[email protected]>",
5656
"Jason Merrill <[email protected]>",
57+
"Ray Toal <[email protected]>",
5758
"Yoshiki Ohshima <[email protected]>",
5859
"stagas <[email protected]>",
5960
"Jonathan Edwards <[email protected]>",
6061
"Milan Lajtoš <[email protected]>",
6162
"Neil Jewers <[email protected]>",
63+
"megabuz <[email protected]>",
6264
"Mike Niebling <(none)>",
63-
"AngryPowman <[email protected]>",
64-
"Leslie Ying <[email protected]>",
65-
"Pierre Donias <[email protected]>",
65+
"sfinnie <[email protected]>",
6666
"Justin Chase <[email protected]>",
67+
"Pierre Donias <[email protected]>",
68+
"Ian Harris <[email protected]>",
6769
"Daniel Tomlinson <[email protected]>",
6870
"Stan Rozenraukh <[email protected]>",
6971
"Stephan Seidt <[email protected]>",
@@ -77,9 +79,10 @@
7779
"abego <[email protected]>",
7880
"acslk <[email protected]>",
7981
"codeZeilen <[email protected]>",
80-
"owch <bowenrainyday@gmail.com>",
82+
"AngryPowman <angrypowman@qq.com>",
8183
"Luca Guzzon <[email protected]>",
82-
"sfinnie <[email protected]>"
84+
"Leslie Ying <[email protected]>",
85+
8386
],
8487
"dependencies": {},
8588
"devDependencies": {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
echo "👫 Updating the list of contributors..."
4+
json -I -f "package.json" -e "this.contributors=[$(./scripts/get-contributors)]"

0 commit comments

Comments
 (0)