-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathpackage.json
64 lines (64 loc) · 1.84 KB
/
package.json
1
2
3
4
5
6
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
60
61
62
63
64
{
"name": "@netlify/plugin-lighthouse",
"version": "6.0.1",
"description": "Netlify Plugin to run Lighthouse on each build",
"main": "src/index.js",
"scripts": {
"local": "node -e 'import(\"./src/index.js\").then(index => index.default()).then(events => events.onSuccess());'",
"local-onpostbuild": "node -e 'import(\"./src/index.js\").then(index => index.default({fail_deploy_on_score_thresholds: \"true\"})).then(events => events.onPostBuild());'",
"lint": "eslint 'src/**/*.js'",
"format": "prettier --write 'src/**/*.js'",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --collect-coverage --maxWorkers=1",
"format:ci": "prettier --check 'src/**/*.js'"
},
"keywords": [
"netlify",
"netlify-plugin",
"lighthouse"
],
"files": [
"manifest.yml",
"src"
],
"author": "netlify-labs",
"license": "MIT",
"dependencies": {
"chalk": "^4.1.0",
"chrome-launcher": "^0.15.0",
"compression": "^1.7.4",
"dotenv": "^16.0.0",
"express": "^4.17.1",
"html-minifier": "^4.0.0",
"lighthouse": "^9.6.3",
"puppeteer": "^18.0.0"
},
"engines": {
"node": ">=18.14.0"
},
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/netlify/netlify-plugin-lighthouse.git"
},
"bugs": {
"url": "https://github.com/netlify/netlify-plugin-lighthouse/issues"
},
"devDependencies": {
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"cypress": "^12.0.0",
"eslint": "^8.32.0",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-import": "^2.27.4",
"husky": "^8.0.1",
"jest": "^29.0.0",
"netlify-plugin-cypress": "^2.2.1",
"prettier": "^2.0.0",
"strip-ansi": "^7.0.1"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}