An instance of this class is used for invoking the instrumentation hooks on addons.

The instrumentation types currently supported are:

  • init
  • build
  • command
  • shutdown

Method Summary

Public Methods
public

Check if npm and bower installation directories are present, and raise an error message with instructions on how to proceed.

Public Methods

lib/models/installation-checker.js:13

public checkInstallations( )

Check if npm and bower installation directories are present, and raise an error message with instructions on how to proceed.

If some of these package managers aren't being used in the project we just ignore them. Their usage is considered by checking the presence of your manifest files: package.json for npm and bower.json for bower.