add npm owners

This commit is contained in:
Sebastian McKenzie
2015-11-11 23:24:39 -08:00
parent a203596e0c
commit afe12412a8
2 changed files with 15 additions and 0 deletions

12
scripts/grant-npm-owner.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
set -e
read -p "Username: " username
for f in packages/*; do
package=`basename $f`
if [ -d "$f" ]; then
npm owner add $username $package
fi
done