Skip to content

Latest commit

 

History

History
61 lines (33 loc) · 1.28 KB

File metadata and controls

61 lines (33 loc) · 1.28 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @microsoft/rush-lib > EventHooks

EventHooks class

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

This class represents Rush event hooks configured for this repo. Hooks are customized script actions that Rush executes when specific events occur. The actions are expressed as a command-line that is executed using the operating system shell.

Signature:

export declare class EventHooks 

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the EventHooks class.

Methods

Method

Modifiers

Description

get(event)

(BETA) Return all the scripts associated with the specified event.