{
  "name": "@pierrad/web-carbon-analyzer",
  "version": "1.1.0",
  "main": "dist/lib/index.js",
  "module": "dist/esm/lib/index.js",
  "types": "dist/lib/index.d.ts",
  "bin": {
    "carbon-analyzer": "dist/cli/index.js"
  },
  "exports": {
    ".": {
      "require": "./dist/lib/index.js",
      "import": "./dist/esm/lib/index.js",
      "types": "./dist/lib/index.d.ts"
    }
  },
  "publishConfig": {
    "access": "public"
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "npm run build:cjs && npm run build:esm",
    "build:cjs": "rimraf dist && tsc -p tsconfig.json",
    "build:esm": "rimraf dist/esm && tsc -p tsconfig.esm.json",
    "dev": "ts-node src/cli/index.ts",
    "start": "node dist/cli/index.js",
    "analyze": "node dist/cli/index.js",
    "prepublishOnly": "npm run build",
    "docker:build": "docker build -t carbon-footprint-analyzer .",
    "docker:run": "docker run -it carbon-footprint-analyzer"
  },
  "keywords": [
    "co2",
    "carbon",
    "footprint",
    "web",
    "sustainability",
    "green-hosting",
    "lighthouse",
    "playwright",
    "cli"
  ],
  "author": "",
  "license": "MIT",
  "description": "A tool to measure the carbon footprint of websites using CO2.js",
  "dependencies": {
    "@tgwf/co2": "^0.16.6",
    "commander": "^13.1.0",
    "joi": "^17.13.3",
    "lighthouse": "^12.6.0",
    "playwright": "^1.51.1",
    "playwright-lighthouse": "^4.0.0",
    "winston": "^3.17.0"
  },
  "devDependencies": {
    "@types/commander": "^2.12.0",
    "@types/node": "^22.14.1",
    "@types/winston": "^2.4.4",
    "rimraf": "^6.0.1",
    "ts-node": "^10.9.2",
    "typescript": "^5.8.3"
  }
}
