lightcrawler可以抓取网站并通过Googlelighthouse 运行网站。
pmistall--save-devlightcrawlerlightcrawler--urlhttps://atom.io/--cofiglightcrawler-cofig.jsolightcrawler-cofig.jso看起来像这样:
{"exteds":"lighthouse:default","settigs":{"crawler":{"maxDepth":2,"maxChromeIstaces":5},"olyCategories":["Accessibility","Performace","BestPractices"],"olyAudits":["accesskeys","aria-allowed-attr","exteral-achors-use-rel-oopeer","geolocatio-o-start","o-documet-write","o-mutatio-evets","o-old-flexbox","time-to-iteractive","user-timigs","viewport","without-javascript"]}}










评论