Class: Overcommit::Hook::PostCheckout::NpmInstall

Inherits:
Base
  • Object
show all
Includes:
Shared::NpmInstall
Defined in:
lib/overcommit/hook/post_checkout/npm_install.rb

Overview

Runs ‘npm install` when a change is detected in the repository’s dependencies.

See Also:

Instance Attribute Summary

Attributes inherited from Base

#config

Method Summary

Methods included from Shared::NpmInstall

#run

Methods inherited from Base

#enabled?, #skip_file_checkout?

Methods inherited from Base

#applicable_files, #command, #description, #enabled?, #excluded?, #execute, #execute_in_background, #flags, #in_path?, #included_files, #initialize, #name, #parallelize?, #processors, #quiet?, #required?, #required_executable, #required_libraries, #run, #run?, #run_and_transform, #skip?

Constructor Details

This class inherits a constructor from Overcommit::Hook::Base