yarn-only

1.0.4 • Public • Published

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

  1. yarn add yarn-only

  2. Add the following to your package.json:

"scripts"{
  "preinstall": "yarn-only"
}

Package Sidebar

Install

npm i yarn-only

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

1.47 kB

Total Files

4

Last publish

Collaborators

  • jonnypickard