docs: function initDir (config) {
      // create global dir config
      config.dir = {
          assets: [__dirname+'/assets'],
          app: [],
          components: [],
          helpers: [__dirname+'/helpers'],
          layouts: [__dirname+'/layouts'],
          partials: [__dirname+'/partials'],
          services: [],
          views: [__dirname+'/views'],
      }
      // iterate over modules getting and merging directories for each
      _.each(config.moduleNames, moduleName => {
          // get module
          var module = config.modules[moduleName]
          // iterate over dir configs
          _.each(config.dir, (dirs, dirName) => {
              // get directories for module
              var moduleDirs = getDir(module, dirName)
              // debug
              debug('initDir %s %s', moduleName, dirName, moduleDirs)
              // add module dirs to config
              _.each(moduleDirs, moduleDir => config.dir[dirName].push(moduleDir))
          })
      })
      // debug merged dirs
      debug('initDir', config.dir)
  }