Medic.Checks.NPM (Medic v0.2.0) View Source
Checks that NPM exists, implicitly checking for NodeJS.
Examples
{Check.NPM, :exists?}
{Check.NPM, :require_minimum_version, ["7.8.0"]}
{Check.NPM, :installed?}
Link to this section Summary
Functions
Checks that the packages declared in assets/package-lock.json are all installed.
Checks that npm install has been run at least once.
Checks that there is an npm executable installed locally.
Checks the installed version of npm is greater than or equal to the declared version.
Link to this section Functions
Checks that the packages declared in assets/package-lock.json are all installed.
Checks that npm install has been run at least once.
Checks that there is an npm executable installed locally.
Checks the installed version of npm is greater than or equal to the declared version.