1.0.4 • Published 7 years ago
yarn-only v1.0.4
Yarn Only
Simple module to prevent user from running a full install with anything apart from yarn. E.g. the command: npm install
!! Warning !! Due to the way the preinstall script works individual modules may still be installed with the npm install <module name> command. Which may result in files being generated like a package-lock.json file.
Usage
yarn add yarn-onlyAdd the following to your
package.json:
"scripts": {
"preinstall": "yarn-only"
}