Last active
March 10, 2020 15:50
-
-
Save giubueno/fd025cebd51202c26fd6ddf4ba61f860 to your computer and use it in GitHub Desktop.
package.json
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
{ | |
"name": "myApp", | |
"scripts": { | |
"git:config": "git config --global url.\"https://${GITHUB_TOKEN}:[email protected]\".insteadOf [email protected]:blacklane && git config --global --add url.\"https://${GITHUB_TOKEN}:[email protected]\".insteadOf ssh://[email protected]", | |
"preinstall": "if [ -n \"$GITHUB_TOKEN\" ]; then npm git:config; fi", | |
} | |
"devDependencies": { | |
// a bunch of private dependencies | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment