{
  "author": "Ken Eucker <keneucker@gmail.com>",
  "name": "imgur",
  "description": "Unofficial JavaScript library for Imgur",
  "version": "2.5.0",
  "homepage": "https://github.com/keneucker/imgur",
  "license": "AGPL-3.0-or-later",
  "type": "module",
  "main": "./dist/imgur.cjs",
  "module": "./dist/imgur.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/imgur.js",
      "require": "./dist/imgur.cjs"
    }
  },
  "keywords": [
    "imgur",
    "edit",
    "images"
  ],
  "repository": {
    "type": "git",
    "url": "git://github.com/keneucker/imgur.git"
  },
  "dependencies": {
    "axios": "^1.10.0",
    "form-data": "^4.0.3",
    "whatwg-url": "^14.2.0"
  },
  "engines": {
    "node": ">=14"
  },
  "files": [
    "dist",
    "package.json",
    "LICENSE.md",
    "README.md"
  ],
  "scripts": {
    "test": "vitest run --reporter=verbose",
    "test:dev": "vitest",
    "test:ci": "vitest run --coverage",
    "run:dev": "node example/index.cjs",
    "run:browser": "vite example",
    "build:dev": "npm run build -- --watch",
    "build": "vite build && vite build --config vite.umd.config.ts",
    "typecheck": "tsc --noEmit",
    "clean": "rm -rf dist _site test/src/**/*.js test/src/**/*.d.ts",
    "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
    "format:check": "prettier . --check ",
    "lint:fix": "prettier . --write && eslint . --fix",
    "lint:check": "eslint . && prettier . --check",
    "lint:release": "npm run format:check && npm run lint:check && npm run typecheck && echo '🤖 !linter ✅ success! 🤖'",
    "lint:staged": "npx --no-install lint-staged",
    "commit": "cz"
  },
  "devDependencies": {
    "@commitlint/cli": "^19.8.1",
    "@commitlint/config-conventional": "^19.8.1",
    "@types/mock-fs": "^4.13.4",
    "@types/node": "^24.0.7",
    "@typescript-eslint/eslint-plugin": "^8.35.0",
    "@typescript-eslint/parser": "^8.35.0",
    "@vitest/coverage-v8": "^3.2.4",
    "axios-mock-adapter": "^2.1.0",
    "commitizen": "^4.3.1",
    "cz-conventional-changelog": "^3.3.0",
    "dotenv": "^17.0.0",
    "eslint": "^9.30.0",
    "eslint-config-prettier": "^10.1.5",
    "happy-dom": "^18.0.1",
    "lint-staged": "^16.1.2",
    "mock-fs": "^5.5.0",
    "msw": "^2.10.2",
    "prettier": "^3.6.2",
    "rollup-plugin-polyfill-node": "^0.13.0",
    "semantic-release": "^24.2.5",
    "ts-loader": "^9.5.2",
    "typescript": "^5.8.3",
    "undici": "^7.11.0",
    "vite": "^7.0.0",
    "vite-plugin-dts": "^4.5.4",
    "vite-plugin-static-copy": "^3.1.0",
    "vitest": "^3.2.4"
  },
  "lint-staged": {
    "*.ts": [
      "eslint . --fix",
      "vitest run"
    ],
    "*.{js,css,md,yml,yaml,json}": "prettier --write"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  }
}
