{
  "author": "Ken Eucker <keneucker@gmail.com>",
  "name": "imgur",
  "description": "Unofficial JavaScript library for Imgur",
  "version": "2.1.4",
  "homepage": "https://github.com/keneucker/imgur",
  "license": "AGPL-3.0-or-later",
  "keywords": [
    "imgur",
    "edit",
    "images"
  ],
  "repository": {
    "type": "git",
    "url": "git://github.com/keneucker/imgur.git"
  },
  "dependencies": {
    "axios": "^0.25.0",
    "form-data": "^4.0.0"
  },
  "engines": {
    "node": ">=14"
  },
  "main": "imgur.node.js",
  "browser": "imgur.js",
  "types": "lib/index.d.ts",
  "files": [
    "lib/**/*",
    "imgur.js",
    "imgur.js.map",
    "imgur.node.js",
    "imgur.node.js.map",
    "imgur.js.LICENSE.txt",
    "package.json",
    "README.md"
  ],
  "scripts": {
    "test": "jest --verbose",
    "test:dev": "jest --silent=false",
    "test:ci": "jest --ci --coverage --maxWorkers=2",
    "run:dev": "node example/index",
    "build:dev": "npm run build && npm run compile",
    "build": "tsc",
    "build:prod": "echo 'webpack handles the compilation process ✅'",
    "compile": "webpack --mode development",
    "compile:prod": "webpack --mode production && npm run expose",
    "analyse": "webpack --mode production --json | npx webpack-bundle-size-analyzer",
    "expose": "cp -v dist/* ./",
    "watch": "webpack --mode=development --watch --progress",
    "typecheck": "tsc --noEmit",
    "clean": "rm -rf lib dist _site imgur.js* imgur.node* test/src/**/*.js test/src/**/*.d.ts",
    "prepare": "husky install",
    "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
    "format:check": "prettier . --check ",
    "lint": "npm run format:check && npm run lint:check && npm run typecheck && echo '🤖 !linter ✅ success! 🤖'",
    "lint:check": "eslint .",
    "lint:write": "prettier . --write && eslint . --fix",
    "lint:staged": "npx --no-install lint-staged",
    "commit": "cz"
  },
  "devDependencies": {
    "@commitlint/cli": "^16.0.2",
    "@commitlint/config-conventional": "^16.0.0",
    "@types/jest": "^27.4.0",
    "@types/mock-fs": "^4.13.1",
    "@typescript-eslint/eslint-plugin": "^5.10.0",
    "@typescript-eslint/parser": "^5.10.0",
    "axios-mock-adapter": "^1.20.0",
    "clean-webpack-plugin": "^4.0.0",
    "commitizen": "^4.2.4",
    "cz-conventional-changelog": "^3.3.0",
    "dotenv": "^14.2.0",
    "eslint": "^8.7.0",
    "eslint-config-prettier": "^8.3.0",
    "husky": "^7.0.4",
    "jest": "^27.4.7",
    "lint-staged": "^12.2.0",
    "mock-fs": "^5.1.2",
    "msw": "^0.36.5",
    "node-polyfill-webpack-plugin": "^1.1.4",
    "prettier": "^2.5.1",
    "semantic-release": "^19.0.2",
    "ts-jest": "^27.1.3",
    "ts-loader": "^9.2.6",
    "typescript": "^4.5.4",
    "webpack": "^5.66.0",
    "webpack-cli": "^4.9.1",
    "webpack-node-externals": "^3.0.0"
  },
  "lint-staged": {
    "*.ts": [
      "eslint . --fix",
      "jest --bail --findRelatedTests"
    ],
    "*.{js,css,md,yml,yaml,json}": "prettier --write"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  }
}
