Crawl a website and run it through Google lighthouse
Перейти к файлу
dependabot[bot] 21e7cf1f53
Bump lodash from 4.17.4 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.4 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.4...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 17:51:53 +00:00
.gitignore Initial commit 2017-06-20 11:01:20 -07:00
LICENSE.md Add LICENSE.md that matches license from package.json 2019-01-24 09:58:15 -08:00
README.md Update README.md 2017-07-04 15:17:35 +01:00
cli.js Add required config option 2017-06-20 17:53:39 -07:00
index.js Celebrate when no violations 2017-06-22 19:59:53 -07:00
package-lock.json Bump lodash from 4.17.4 to 4.17.21 2021-05-06 17:51:53 +00:00
package.json 0.0.9 2017-06-23 12:02:37 -07:00
report.json Initial commit 2017-06-20 11:01:20 -07:00

README.md

lightcrawler

Crawl a website and run it through Google lighthouse

npm install --save-dev lightcrawler

lightcrawler --url https://atom.io/ --config lightcrawler-config.json

where lightcrawler-config.json looks something like this:

{
  "extends": "lighthouse:default",
  "settings": {
    "crawler": {
      "maxDepth": 2,
      "maxChromeInstances": 5
    },
    "onlyCategories": [
      "Accessibility",
      "Performance",
      "Best Practices"
    ],
    "onlyAudits": [
      "accesskeys",
      "aria-allowed-attr",
      "external-anchors-use-rel-noopener",
      "geolocation-on-start",
      "no-document-write",
      "no-mutation-events",
      "no-old-flexbox",
      "time-to-interactive",
      "user-timings",
      "viewport",
      "without-javascript"
    ]
  }
}

Enjoy!