UNPKG

trailpack-hapi

Version:

Hapi.js Trailpack. This pack binds the routes compiled in trailpack-router to a Hapi Server.

22 lines (19 loc) 365 B
/** * Trailpack Configuration * * This manifest declares the application resources which are provided and/or * modified by this trailpack. */ module.exports = { provides: { config: { web: [ 'server' ] } }, lifecycle: { initialize: { listen: [ 'trailpack:router:initialized' ], emit: [ 'webserver:http:ready' ] } } }