code: function getBin(packageName, binName = packageName) {
    const packagePath = require.resolve(`${packageName}/package.json`)
    const concurrentlyDir = path.dirname(packagePath)
    let {bin: binRelativeToPackage} = require(packagePath)
    if (typeof binRelativeToPackage === 'object') {
      binRelativeToPackage = binRelativeToPackage[binName]
    }
    const fullBinPath = path.join(concurrentlyDir, binRelativeToPackage)
    return path.relative(process.cwd(), fullBinPath)
  }
docs: Get the path to one of the bin scripts exported by a package
  @param {string} packageName - name of the npm package
  @param {string} binName=packageName - name of the script
  @returns {string} path, relative to process.cwd()