{
  "name": "next-image-export-optimizer",
  "version": "1.21.1",
  "description": "Optimizes all static images for Next.js static HTML export functionality",
  "main": "dist/ExportedImage.js",
  "types": "dist/ExportedImage.d.ts",
  "bin": "dist/optimizeImages.js",
  "engines": {
    "node": ">=20.9.0"
  },
  "exports": {
    ".": {
      "types": "./dist/ExportedImage.d.ts",
      "require": "./dist/ExportedImage.js",
      "import": "./dist/ExportedImage.js"
    },
    "./legacy/ExportedImage": {
      "types": "./dist/legacy/ExportedImage.d.ts",
      "require": "./dist/legacy/ExportedImage.js",
      "import": "./dist/legacy/ExportedImage.js"
    }
  },
  "typesVersions": {
    "*": {
      "legacy/ExportedImage": [
        "./dist/legacy/ExportedImage.d.ts"
      ]
    }
  },
  "files": [
    "dist/ExportedImage.js",
    "dist/ExportedImage.d.ts",
    "dist/legacy/ExportedImage.js",
    "dist/legacy/ExportedImage.d.ts",
    "dist/optimizeImages.js",
    "dist/utils"
  ],
  "scripts": {
    "build": "rimraf dist && tsc && tsc --project tsconfig.optimizeImages.json",
    "test": "jest",
    "test:e2e:basePath": "npx playwright install && BASEPATH=true IMAGESWEBP=false playwright test --config playwright-basePath.config.js",
    "test:e2e": "npx playwright install && playwright test",
    "exportExample": "cd example && npm run export && cd ..",
    "prepublishOnly": "npm run build && npm test && npm run test:e2e:basePath && npm run test:e2e",
    "fetchTags": "git fetch --tags -f"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/Niels-IO/next-image-export-optimizer"
  },
  "keywords": [
    "next.js",
    "next",
    "static",
    "export",
    "image",
    "optimization",
    "webp",
    "sharp"
  ],
  "author": "Niels Grafen",
  "license": "MIT",
  "dependencies": {
    "sharp": "^0.35.3",
    "typescript": "^5.2.2"
  },
  "peerDependencies": {
    "next": "^14.2.18 || ^15.0.3 || ^16.0.0",
    "react": "^18.2.0 || ^19.0.0-0 "
  },
  "devDependencies": {
    "@next/eslint-plugin-next": "^16.3.2",
    "@playwright/test": "^1.62.1",
    "@types/react": "^19.2.18",
    "eslint": "^9.39.5",
    "eslint-plugin-react": "^7.37.5",
    "jest": "^30.4.2",
    "rimraf": "^6.1.3",
    "ts-node": "^10.9.2"
  }
}
