Created
March 7, 2018 10:21
-
-
Save jonschlinkert/565bdbe51bb0090ea0a34503a874f1b1 to your computer and use it in GitHub Desktop.
From a script in the babel-plugin-syntax-dynamic-import library
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment