Skip to content

Commit

Permalink
docs(architecture): add diagram of module dependencies (#5615)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Jul 3, 2018
1 parent b80e455 commit 94d0431
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,9 @@ Tracing processor takes the output of trace of tab and identifies the top-level
The return value of each audit [takes this shape](https://github.com/GoogleChrome/lighthouse/blob/8f500e00243e07ef0a80b39334bedcc8ddc8d3d0/typings/audit.d.ts#L117-L130).

The `details` object is parsed in report-renderer.js. View other audits for guidance on how to structure `details`.

## Lighthouse-core internal module dependencies

![image](https://user-images.githubusercontent.com/39191/42241426-609d15f6-7ebf-11e8-9e40-411d9ede43e6.png)

(Generated July 3, 2018 via `madge lighthouse-core/index.js --image arch.png --layout dot --backgroundColor "#fafafa" --nodeColor "#4d4afc" --noDependencyColor "#48ad00"`)

0 comments on commit 94d0431

Please sign in to comment.