lighthouse-audit-utils 1.0.0 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +90 -24
- package/dist/chunk-4DICEJP6.js +510 -0
- package/dist/chunk-4DICEJP6.js.map +1 -0
- package/dist/index.js +1 -194
- package/dist/index.js.map +1 -1
- package/dist/log-recommendations.d.ts +1 -1
- package/dist/playwright.d.ts +60 -0
- package/dist/playwright.js +78 -0
- package/dist/playwright.js.map +1 -0
- package/dist/thresholds.d.ts +1 -1
- package/package.json +82 -59
package/package.json
CHANGED
|
@@ -1,59 +1,82 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "lighthouse-audit-utils",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "
|
|
5
|
-
"keywords": [
|
|
6
|
-
"lighthouse",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "lighthouse-audit-utils",
|
|
3
|
+
"version": "1.2.3",
|
|
4
|
+
"description": "Programmatic Lighthouse audit utilities for CI: check scores against thresholds, write HTML/JSON reports to disk, and log recommendations to the terminal. Includes a Playwright fixture.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"lighthouse",
|
|
7
|
+
"lighthouse-ci",
|
|
8
|
+
"playwright",
|
|
9
|
+
"playwright-test",
|
|
10
|
+
"performance",
|
|
11
|
+
"performance-testing",
|
|
12
|
+
"performance-budget",
|
|
13
|
+
"web-vitals",
|
|
14
|
+
"core-web-vitals",
|
|
15
|
+
"ci",
|
|
16
|
+
"continuous-integration",
|
|
17
|
+
"audit",
|
|
18
|
+
"accessibility",
|
|
19
|
+
"seo",
|
|
20
|
+
"terminal"
|
|
21
|
+
],
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://github.com/bvandrc/lighthouse-audit-utils"
|
|
25
|
+
},
|
|
26
|
+
"author": {
|
|
27
|
+
"name": "Blake Vandercar",
|
|
28
|
+
"email": "bvandercar@outlook.com"
|
|
29
|
+
},
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"type": "module",
|
|
32
|
+
"source": "src/index.ts",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"default": "./dist/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./playwright": {
|
|
39
|
+
"types": "./dist/playwright.d.ts",
|
|
40
|
+
"default": "./dist/playwright.js"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"files": [
|
|
44
|
+
"dist",
|
|
45
|
+
"LICENSE",
|
|
46
|
+
"README.md"
|
|
47
|
+
],
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=22"
|
|
50
|
+
},
|
|
51
|
+
"packageManager": "pnpm@11.9.0",
|
|
52
|
+
"scripts": {
|
|
53
|
+
"__c0": "====================[ Build & Development ]======================",
|
|
54
|
+
"prepack": "pnpm build",
|
|
55
|
+
"build": "tsup-node && pnpm build:types",
|
|
56
|
+
"build:types": "tsc -p tsconfig.build.json",
|
|
57
|
+
"start": "tsup-node --watch",
|
|
58
|
+
"__c1": "====================[ Linting & Type Checking ]==================",
|
|
59
|
+
"check": "npx biome check . && pnpm ts:check",
|
|
60
|
+
"format": "npx biome check . --fix",
|
|
61
|
+
"ts:check": "tsc --noEmit"
|
|
62
|
+
},
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"@playwright/test": "^1",
|
|
65
|
+
"lighthouse": "^12 || ^13"
|
|
66
|
+
},
|
|
67
|
+
"peerDependenciesMeta": {
|
|
68
|
+
"@playwright/test": {
|
|
69
|
+
"optional": true,
|
|
70
|
+
"reason": "only needed for the lighthouse-audit-utils/playwright entrypoint"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@biomejs/biome": "^2",
|
|
75
|
+
"@playwright/test": "^1",
|
|
76
|
+
"@types/node": "^24",
|
|
77
|
+
"es-toolkit": "^1",
|
|
78
|
+
"lighthouse": "^13",
|
|
79
|
+
"tsup": "^8",
|
|
80
|
+
"typescript": "^7"
|
|
81
|
+
}
|
|
82
|
+
}
|