check-fe-env

0.0.3 • Public • Published

check-fe-env

keep a consistent development environment between different developers.

will check:

  • nodejs version by .nvmrc
  • package manager type and it's version by the packageManager field of package.json

recommend using corepack to manage the package manager.

Usage

Add following to package.json scripts:

{
  "scripts": {
    "preinstall": "npx check-fe-env"
  }
}

Thanks

Readme

Keywords

Package Sidebar

Install

npm i check-fe-env

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

11.1 kB

Total Files

5

Last publish

Collaborators

  • yutengjing