trailpack-proxy-generics
Version:
Generics - Trailpack for Proxy Engine
32 lines (29 loc) • 711 B
JavaScript
/**
* Trailpack Configuration
*
* @see {@link http://trailsjs.io/doc/trailpack/config
*/
module.exports = {
type: 'extension',
/**
* Configure the lifecycle of this pack; that is, how it boots up, and which
* order it loads relative to other trailpacks.
*/
lifecycle: {
configure: {
/**
* List of events that must be fired before the configure lifecycle
* method is invoked on this Trailpack
*/
listen: [],
/**
* List of events emitted by the configure lifecycle method
*/
emit: ['trailpack:proxy-generics:configured']
},
initialize: {
listen: [],
emit: ['trailpack:proxy-generics:initialized']
}
}
}