1.0.0 • Published 8 years ago

mycro-containers v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

mycro-containers

mycro hook for loading local modules onto the application instance.

Installing

npm install --save mycro-containers

Configuration

// in /config/containers.js
module.exports = {
    connections: true,
    controllers: true,
    models: true,
    policies: true,
    services: true,
    schemas: {
        filter:  /(.+)\.json$/,
    }
}

Testing

npm test

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Copyright (c) 2016 Chris Ludden. Licensed under the MIT license.