Use require.resolve() to detect where the executable of typedoc is located.
Merge pull request #1 from daanwissing/master

Use require.resolve() to detect where the executable of typedoc is located.