Created
May 8, 2018 12:37
-
-
Save aravindballa/bd76912e52f0a1b10ea0938b034607c4 to your computer and use it in GitHub Desktop.
Stop people from using npm and use yarn instead.
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
{ | |
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('This library must be installed with Yarn: https://yarnpkg.com/ ')\"" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: https://twitter.com/thekitze/status/993773473708347399