Created
May 9, 2019 05:11
-
-
Save WolffDev/4dae88368d9bb0888809d81287ea9a3c 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
function npm_install { | |
if [ -f yarn.lock ]; then | |
yarn install $@ | |
else | |
npm install $@ | |
fi | |
touch ./node_modules/.metadata_never_index | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment