@start/reporter-verbose
TypeScript icon, indicating that this package has built-in type declarations

2.0.1Β β€’Β PublicΒ β€’Β Published

πŸ“ƒ 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
}

Package Sidebar

Install

npm i @start/reporter-verbose

Weekly Downloads

101

Version

2.0.1

License

MIT

Unpacked Size

4.49 kB

Total Files

5

Last publish

Collaborators

  • fosimus
  • psxcode
  • deepsweet