1.4.1 • Published 4 years ago

one-package-manager v1.4.1

Weekly downloads
1
License
AGPL-3.0-only
Repository
github
Last release
4 years ago

One Package Manager Build Status codecov greenkeeper

Enforcing the consistent usage of Yarn or NPM within a team

Summary

This repo is built to enforce a software development team to use either Yarn or NPM within a repo.

Installation

Put the following code in package.json of the intended repo:

{
  "scripts": {
    "preinstall": "npx one-package-manager"
  }
}

Options

To enforce the use of Yarn (default)

{
  "scripts": {
    "preinstall": "npx one-package-manager --yarn"
  }
}

To enforce the use of NPM (default)

{
  "scripts": {
    "preinstall": "npx one-package-manager --npm"
  }
}
1.4.1

4 years ago

1.4.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago