Skip to content

Instantly share code, notes, and snippets.

@reharik
Created July 3, 2015 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reharik/9de3a10de96c0a7e6ac0 to your computer and use it in GitHub Desktop.
Save reharik/9de3a10de96c0a7e6ac0 to your computer and use it in GitHub Desktop.
example bootstrapper
module.exports = {
container: container ? container
: new _container(x=>
x.pathToPackageJson('../package.json')
.forDependencyParam('logger').requireThisInternalModule('./loggerMock')
.replace('lodash').withThis('_')
.replace('bluebird').withThis('Promise')
.complete())
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment