Skip to content

Alert if user does not have required executables

License

Notifications You must be signed in to change notification settings

ksxnodemodules/toolcheck

Repository files navigation

toolcheck

Alert if user does not have required executables

Usage

Configuration Files

This package uses cosmiconfig to load configuration, therefore user can write configuration into .toolcheckrc, .toolcheckrc.yaml, .toolcheckrc.json or field "toolcheck" of package.json.

Configration Object Structure

interface Configration {
  names: string[]
}

Example

.toolcheckrc:

{
  "names": [
    "git",
    "bash"
  ]
}

How it works?

When either git or bash is missing, npm install will fail and prints missing executables.

License

MIT © Hoàng Văn Khải