зеркало из https://github.com/github/lightcrawler.git
8b933d4500
Bumps [async](https://github.com/caolan/async) from 1.5.2 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v1.5.2...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.gitignore | ||
LICENSE.md | ||
README.md | ||
cli.js | ||
index.js | ||
package-lock.json | ||
package.json | ||
report.json |
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!