docs: function(patterns, options) {
    if (options && options.strict) {
      if (patterns[0] !== '.') {
        return resolveDep.npm(patterns, options);
      }
      return resolveDep.local(patterns, options);
    }
    var locals = resolveDep.local(patterns, options);
    var npm = resolveDep.npm(patterns, options);
    return locals.concat(npm);
  }