TypeStrong/grunt-typedoc — pull request #5 by cspotcode (2014-12-03 23:03:14+00:00)
Title: Fixes the method by which the location of typedoc's executable is locate...

Fixes #4.

By using require.resolve to locate typedoc's package.json, we can reliably find the root directory of typedoc. Then we ascend up a directory, descend into .bin, and we've found typedoc's executable.