code: function _paths(cwd, dataPath) {
    const paths = Utils.assignWith({}, {
      root: '.',
      data: dataPath,
      cache: join(dataPath, 'cache'),
      uploads: join(dataPath, 'uploads'),
      www: './www',
      modules: './node_modules',
    }, (_, srcPath) => resolve(cwd, srcPath));
  
    // Ensure paths exist
    Utils.mkdirp(paths.cache);
    Utils.mkdirp(paths.uploads);
    Utils.mkdirp(paths.www);
  
    return paths;
  }
docs: @private
  
  Resolves commonly-used paths
  
  @param {string} cwd
  @param {string} dataPath - data directory
  @return {Object} absolute paths