code: function loadPaths (pkg) {
    const name = pkg.name
    const file = pkg.path
    return resolveFile(tmp, path.join(name, file)).then(entry => ({
      entry: entry,
      package: path.join(tmp, 'node_modules', name, 'package.json')
    }))
  }
docs: Given package details loads resolved package and entry files.
  
  @param {object} pkg - the parsed package details.
  @return {Promise}