2.0.1 • Published 4 years ago

@start/reporter-verbose v2.0.1

Weekly downloads
109
License
MIT
Repository
github
Last release
4 years ago

📃 reporter-verbose

Verbose reporter.

Install

$ yarn add --dev @start/reporter-verbose

Usage

Example

export default (taskName: string) => {
  const emitter = new EventEmitter()

  emitter.on('start', (pluginName: string) => {})
  emitter.on('message', (pluginName: string, message: string) => {})
  emitter.on('file', (pluginName: string, file: string) => {})
  emitter.on('done', (pluginName: string) => {})
  emitter.on('error', (pluginName: string, error: Error | string[] | string | null) => {})

  return emitter
}