Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 741 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 741 Bytes

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