package.jsonโข2.2 kB
{
"name": "lighthouse-mcp",
"version": "1.0.0",
"description": "Lighthouse MCP server for performance analysis",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"lhmcp": "./dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./cli": {
"import": "./dist/cli.js",
"types": "./dist/cli.d.ts"
}
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"dev": "tsc --watch",
"test": "vitest run",
"test:watch": "vitest watch",
"test:e2e": "vitest run test/e2e",
"test:unit": "vitest run test/unit",
"test:integration": "vitest run test/integration",
"test:coverage": "vitest run --coverage",
"lint": "oxlint --tsconfig ./tsconfig.json",
"lint:fix": "oxlint --tsconfig ./tsconfig.json --fix",
"analyze:l2": "tsx scripts/run-l2-analysis.ts",
"analyze:sites": "tsx scripts/analyze-sites.ts",
"analyze:lipscosme": "tsx scripts/analyze-lipscosme.ts",
"analyze:nicovideo": "tsx scripts/analyze-nicovideo.ts",
"crawl": "tsx scripts/crawl-popular-sites.ts",
"report:impact": "tsx scripts/generate-impact-report.ts",
"report:critical": "tsx scripts/generate-critical-chain-report.ts",
"format": "prettier --write src",
"typecheck": "tsgo",
"typecheck:tsc": "tsc --noEmit",
"cli": "tsx src/cli.ts"
},
"keywords": [
"lighthouse",
"performance",
"mcp",
"analysis"
],
"author": "",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"@modelcontextprotocol/sdk": "^1.17.5",
"@types/express": "^5.0.3",
"@types/node": "^20.0.0",
"@typescript/native-preview": "7.0.0-dev.20250908.1",
"@vitest/coverage-v8": "^2.1.8",
"@vitest/ui": "^2.1.8",
"express": "^5.1.0",
"oxlint": "^1.14.0",
"prettier": "^3.3.3",
"tsr": "^1.3.4",
"tsx": "^4.20.5",
"typescript": "^5.8.3",
"vitest": "^2.1.8"
},
"dependencies": {
"chrome-launcher": "^1.2.0",
"lighthouse": "^12.6.1",
"neverthrow": "^8.2.0",
"p-limit": "^6.2.0",
"p-queue": "^8.1.0",
"puppeteer": "^24.12.0"
}
}