0.0.8 • Published 7 years ago

reliant v0.0.8

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

Reliant

Checks the system has required dependencies installed.

Install

npm install reliant

Configure

Add a .reliantrc file to your project's root. This tells Reliant what and how it should check for system requirements.

This should be valid JSON.

For example:

[
    {
        "name": "NPM",
        "cmd": "npm --version",
        "version": "3.0.0 - 4.0.x"
    }, {
        "name": "Node",
        "cmd": "node --version",
        "version": "^4.0.0"
    }, {
        "name": "Yarn",
        "cmd": "yarn --version",
        "version": "0.17.x"
    }
]

Each object within the array should define the following:

name - Human readable name of the package

cmd - The command Reliant should run to obtain the version

version - The version range required see semver examples

Run

In your package.json add reliant to the scripts block.

Example:

...
    "scripts": {
        "test": "reliant"
    }
...

With the above example, you should be able to run npm test from your terminal.

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago