`process.cwd()` is not guaranteed to be project's root directory, I believe @RafLeszczynski  is looking for an alternative to that too.