lint-nvmrc-with-engines

0.1.3 • Public • Published

lint-nvmrc-with-engines

Test that the contents of .nvmrc satisfies the engines.node field found in your package.json.

Usage

npm install --save-dev lint-nvmrc-with-engines

From the root of your application:

npx lint-nvmrc-with-engines

Move on with life if this passes, fix the problem if this fails.

Meant to be used during an automated test process.

with lint-staged

Merge with existing:

{
    "lint-staged": {
        "{.nvmrc,package.json}": [
            "lint-nvmrc-with-engines"
        ]
    }
}

Readme

Keywords

Package Sidebar

Install

npm i lint-nvmrc-with-engines

Weekly Downloads

0

Version

0.1.3

License

ISC

Unpacked Size

3.56 kB

Total Files

6

Last publish

Collaborators

  • jeremyosborne