Created
July 25, 2019 18:03
-
-
Save Noitidart/525308cea8ea1dc644b99be202fe192b to your computer and use it in GitHub Desktop.
This file contains 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
in package.json scripts: | |
scripts: { | |
... | |
"preinstall": "node -e \"if (process.env.npm_execpath.indexOf('yarn') === -1) { console.error('\\u001b[31mPlease use yarn for installing\\u001b[0m'); process.exit(1); }\"" | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment