function depType (opts) {
  if (opts.dev) {
    return 'devDependencies'
  } else if (opts.optional) {
    return 'optionalDependencies'
  } else if (opts.peer) {
    return 'peerDependencies'
  }
  return 'dependencies'
}
Given the options passed to david, figure out the dep type.