docs: function getLatticePrefs(readPkgUpOpts) {
    var _readPkg = (0, _readPkgUp.sync)(readPkgUpOpts),
        pkg = _readPkg.pkg;
  
    var options = {
      ModuleParser: {
        extensions: ['.js', '.jsx', '.ts', '.tsx'],
        failOnError: false
      }
    };
  
    if (pkg.lattice) {
      (0, _lodash.merge)(options, pkg.lattice || {});
    }
  
    return options;
  }