Created
November 2, 2016 15:31
-
-
Save alexkuz/07e18999c0f14c648820e61d7a2ce17f to your computer and use it in GitHub Desktop.
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 | |
echo "=== Set local registry ===" | |
npm set registry http://localhost:4873/ | |
trap : INT | |
sinopia | |
echo "=== Rollback to default registry ===" | |
npm set registry https://registry.npmjs.org/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment