This is a tool created by Google. You can read the official documentation.
In order to use Lighthouse in your project you need to run
ahoy site lighthouse and optionally pass an argument for the URL. Examples:
ahoy site lighthouse(tests homepage)
ahoy site lighthouse /user/register(tests register page)