TypeStrong / grunt-typedoc

Grunt plugin to generate TypeScript docs with TypeDoc
MIT License
17 stars 29 forks source link

Fixes the method by which the location of typedoc's executable is locate... #5

Closed cspotcode closed 9 years ago

cspotcode commented 9 years ago

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.

pellekrogholt commented 9 years ago

+100 to get this merged in