Closed cspotcode closed 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.
+100 to get this merged in
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.