{
    "name": "koajax",
    "version": "3.1.2",
    "license": "LGPL-3.0",
    "author": "shiy2008@gmail.com",
    "description": "HTTP Client based on Koa-like middlewares",
    "keywords": [
        "http",
        "request",
        "client",
        "ajax",
        "koa",
        "middleware"
    ],
    "homepage": "https://web-cell.dev/KoAJAX/",
    "repository": {
        "type": "git",
        "url": "git+https://github.com/EasyWebApp/KoAJAX.git"
    },
    "bugs": {
        "url": "https://github.com/EasyWebApp/KoAJAX/issues"
    },
    "source": "source/index.ts",
    "types": "dist/index.d.ts",
    "main": "dist/index.js",
    "module": "dist/index.esm.js",
    "dependencies": {
        "@swc/helpers": "^0.5.15",
        "regenerator-runtime": "^0.14.1",
        "web-streams-polyfill": "^4.1.0",
        "web-utility": "^4.4.3"
    },
    "peerDependencies": {
        "core-js": ">=3",
        "jsdom": ">=21"
    },
    "devDependencies": {
        "@parcel/packager-ts": "~2.14.1",
        "@parcel/transformer-typescript-types": "~2.14.1",
        "@types/jest": "^29.5.14",
        "@types/jsdom": "^21.1.7",
        "@types/node": "^22.13.11",
        "abortcontroller-polyfill": "^1.7.8",
        "core-js": "^3.41.0",
        "cross-env": "^7.0.3",
        "husky": "^9.1.7",
        "jest": "^29.7.0",
        "jest-environment-jsdom": "^29.7.0",
        "jsdom": "^26.0.0",
        "lint-staged": "^15.5.0",
        "open-cli": "^8.0.0",
        "parcel": "~2.14.1",
        "prettier": "^3.5.3",
        "ts-jest": "^29.2.6",
        "ts-node": "^10.9.2",
        "typedoc": "^0.28.1",
        "typedoc-plugin-mdn-links": "^5.0.1",
        "typescript": "~5.8.2"
    },
    "prettier": {
        "singleQuote": true,
        "trailingComma": "none",
        "arrowParens": "avoid",
        "tabWidth": 4
    },
    "lint-staged": {
        "*.{md,ts,json,yml}": "prettier --write"
    },
    "jest": {
        "preset": "ts-jest",
        "testEnvironment": "./test/custom-JSDOM.ts"
    },
    "browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
    "targets": {
        "main": {
            "optimize": true
        },
        "types": false
    },
    "scripts": {
        "prepare": "husky",
        "test": "lint-staged  &&  cross-env NODE_OPTIONS=--unhandled-rejections=warn jest --detectOpenHandles",
        "pack-dist": "rm -rf dist/  &&  tsc --emitDeclarationOnly  &&  parcel build",
        "pack-docs": "rm -rf docs/  &&  typedoc source/",
        "build": "npm run pack-dist  &&  npm run pack-docs",
        "help": "npm run pack-docs  &&  open-cli docs/index.html",
        "prepublishOnly": "npm test  &&  npm run build"
    }
}
