{
  "name": "perf-lens",
  "version": "2.0.2",
  "description": "AI-powered frontend performance optimizer",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "type": "module",
  "bin": {
    "perf-lens": "dist/index.js"
  },
  "scripts": {
    "clean": "rm -rf dist",
    "copy-templates": "cp -r src/prompts/templates dist/prompts/",
    "build": "npm run clean && tsc && npm run copy-templates",
    "start": "tsx src/index.ts",
    "prepublishOnly": "npm run clean && npm run build",
    "dev": "tsc -w",
    "lint": "eslint . --ext .ts",
    "lint:fix": "eslint . --ext .ts --fix",
    "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
    "format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\"",
    "typecheck": "tsc --noEmit",
    "prepare": "husky",
    "semantic-release": "semantic-release",
    "test": "vitest run",
    "test:watch": "vitest"
  },
  "files": [
    "dist",
    "dist/prompts/templates",
    "README.md",
    "LICENSE"
  ],
  "keywords": [
    "performance",
    "optimization",
    "frontend",
    "react",
    "vue",
    "next.js",
    "nuxt",
    "astro",
    "remix",
    "ai",
    "claude",
    "anthropic",
    "ai-agent",
    "core-web-vitals",
    "analysis",
    "cli"
  ],
  "author": "Moiz Imran",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/moiz-imran/perf-lens.git"
  },
  "publishConfig": {
    "provenance": true
  },
  "engines": {
    "node": ">=20"
  },
  "dependencies": {
    "@anthropic-ai/sdk": "^0.110.0",
    "axios": "^1.18.1",
    "chalk": "^5.6.0",
    "commander": "^14.0.0",
    "cosmiconfig": "^9.0.0",
    "dotenv": "^16.4.5",
    "fast-glob": "^3.3.3",
    "lighthouse": "^13.4.0",
    "ora": "^8.2.0",
    "zod": "^4.4.3"
  },
  "devDependencies": {
    "@eslint/js": "^9.34.0",
    "@semantic-release/changelog": "^6.0.3",
    "@semantic-release/git": "^10.0.1",
    "@semantic-release/github": "^12.0.9",
    "@semantic-release/npm": "^13.1.5",
    "@types/node": "^24.3.0",
    "@typescript-eslint/eslint-plugin": "^8.26.1",
    "@typescript-eslint/parser": "^8.26.1",
    "eslint": "^9.34.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-prettier": "^5.5.4",
    "globals": "^16.3.0",
    "husky": "^9.1.7",
    "prettier": "^3.6.2",
    "semantic-release": "^25.0.5",
    "tsx": "^4.20.5",
    "typescript": "^5.9.2",
    "typescript-eslint": "^8.26.1",
    "vitest": "^4.1.9"
  },
  "overrides": {
    "cosmiconfig": {
      "js-yaml": "^4.2.0"
    },
    "lighthouse": {
      "lodash-es": "^4.18.1",
      "ws": "^7.5.11",
      "@sentry/node": {
        "minimatch": {
          ".": "^9.0.7",
          "brace-expansion": "^2.0.3"
        }
      }
    },
    "fast-glob": {
      "micromatch": {
        "picomatch": "^2.3.2"
      }
    },
    "@anthropic-ai/sdk": {
      "minimatch": "^9.0.7"
    },
    "@typescript-eslint/typescript-estree": {
      "minimatch": "^9.0.7"
    },
    "@opentelemetry/core": "^2.9.0",
    "eslint": {
      "minimatch": {
        ".": "^3.1.3",
        "brace-expansion": "^1.1.13"
      },
      "ajv": "^6.15.0"
    },
    "@eslint/config-array": {
      "minimatch": {
        ".": "^3.1.3",
        "brace-expansion": "^1.1.13"
      }
    },
    "@eslint/eslintrc": {
      "minimatch": {
        ".": "^3.1.3",
        "brace-expansion": "^1.1.13"
      },
      "ajv": "^6.15.0"
    },
    "lodash": "^4.18.1",
    "lodash-es": "^4.18.1",
    "handlebars": "^4.7.9",
    "flatted": "^3.4.2"
  },
  "release": {
    "branches": [
      "main"
    ],
    "plugins": [
      "@semantic-release/commit-analyzer",
      "@semantic-release/release-notes-generator",
      "@semantic-release/changelog",
      "@semantic-release/npm",
      [
        "@semantic-release/github",
        {
          "assets": [
            {
              "path": "dist/index.js",
              "label": "Distribution file"
            }
          ]
        }
      ],
      [
        "@semantic-release/git",
        {
          "assets": [
            "package.json",
            "CHANGELOG.md"
          ],
          "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
        }
      ]
    ]
  }
}
