{
  "name": "ajax-hooker",
  "version": "1.3.2",
  "description": "Browser AJAX interceptor for XMLHttpRequest and fetch with unified hooks, request/response mutation, and streaming response support.",
  "main": "dist/cjs/index.js",
  "module": "dist/esm/index.js",
  "type": "module",
  "types": "dist/types/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/esm/index.js",
      "require": "./dist/cjs/index.js",
      "default": "./dist/esm/index.js"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist"
  ],
  "homepage": "https://github.com/Arktomson/ajaxInterceptor#readme",
  "unpkg": "dist/iife/index.js",
  "jsdelivr": "dist/iife/index.js",
  "simple-git-hooks": {
    "commit-msg": "npx --no-install commitlint --edit $1"
  },
  "author": "arktomson",
  "license": "MIT",
  "keywords": [
    "ajax",
    "interceptor",
    "xmlhttprequest",
    "xhr",
    "fetch",
    "request-interceptor",
    "response-interceptor",
    "network-interceptor",
    "browser",
    "typescript",
    "streaming",
    "sse",
    "ndjson"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/Arktomson/ajaxInterceptor.git"
  },
  "bugs": {
    "url": "https://github.com/Arktomson/ajaxInterceptor/issues"
  },
  "devDependencies": {
    "@commitlint/cli": "^20.4.2",
    "@commitlint/config-conventional": "^20.4.2",
    "@rollup/plugin-node-resolve": "^16.0.1",
    "@rollup/plugin-terser": "^0.4.4",
    "@rollup/plugin-typescript": "^11.1.6",
    "@types/lodash-es": "^4.17.12",
    "@types/node": "^25.0.2",
    "@vitest/coverage-v8": "^4.0.18",
    "@vitest/ui": "^4.0.15",
    "jsdom": "^27.3.0",
    "msw": "^2.12.7",
    "rollup": "^4.52.2",
    "rollup-plugin-clear": "^2.0.7",
    "rollup-plugin-define": "^1.0.1",
    "rollup-plugin-node-externals": "^8.1.2",
    "rollup-plugin-serve": "^3.0.0",
    "simple-git-hooks": "^2.13.1",
    "type-fest": "^5.4.4",
    "typescript": "^5.7.3",
    "vitest": "^4.0.15"
  },
  "dependencies": {
    "lodash-es": "^4.17.21"
  },
  "scripts": {
    "dev": "rollup -c -w --environment NODE_ENV:development --configPlugin @rollup/plugin-typescript",
    "build:js": "rollup -c --environment NODE_ENV:production --configPlugin @rollup/plugin-typescript",
    "build:types": "tsc --target ESNext --module ESNext --moduleResolution Node --lib ESNext,DOM --esModuleInterop --allowSyntheticDefaultImports --skipLibCheck --declaration --emitDeclarationOnly --declarationDir dist/types --declarationMap false --sourceMap false --types node src/index.ts",
    "build": "pnpm run build:js && pnpm run build:types",
    "test": "vitest",
    "test:ui": "vitest --ui",
    "test:run": "vitest run",
    "test:coverage": "vitest run --coverage",
    "release": "pnpm run build && node scripts/release.cjs patch && pnpm publish"
  }
}