Skip to content

Commit 4ccbf3f

Browse files
feat(scripts): add lighthouse script
1 parent 2d60441 commit 4ccbf3f

File tree

3 files changed

+1050
-74
lines changed

3 files changed

+1050
-74
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,15 @@ The linter is how we maintain a consistent code style throughout the project. Th
3535
If you encounter a persistent linter error that you are certain you've fixed, try running `stylelint <path/to/file.scss> --fix` (where `<path/to/file.scss>` is replaced by the actual path to your file) in your terminal.
3636

3737
If you encounter a persistent linter error regarding a third-party CSS framework or other thing outside of your control, add the file to the list in the `.stylelintignore` file. Please only ignore third-party files that are not under your control. If you have the ability to fix the linter error or warning, it is preferable to do so.
38+
39+
### Using the Lighthouse script
40+
41+
Lighthouse is a website analysis tool that measures several elements of a website. We are using it primarily
42+
for accessibility testing at the moment, but we may expand that later to performance characteristics. To run
43+
Lighthouse locally, type this is a terminal on a computer with Chrome installed:
44+
45+
```
46+
npm run lighthouse
47+
```
48+
49+
This will run the tests in Chrome and then open the results page in Chrome for you.

0 commit comments

Comments
 (0)