code: async function installPeerDependencies(cwd, installDir, options) {
    const { data: pkg } = await joycon.load({
      files: ['package.json'], cwd
    })
    const peers = pkg.peerDependencies || {}
  
    const packages = []
    for (const peer in peers) {
      if (!options.peerFilter || options.peerFilter(peer, peers[peer])) {
        packages.push(`${peer}@${peers[peer]}`)
      }
    }
  
    if (packages.length > 0) {
      await install(
        Object.assign({}, options, {
          packages,
          cwd: installDir,
          installPeers: false
        })
      )
    }
  }
docs: Install peer dependencies
  @param {string} cwd The directory to find package.json
  @param {string} installDir The directory to install peer dependencies
  @param {*} options