{
  "name": "typed-http-client",
  "version": "2.2.6",
  "description": "A TypeScript HTTP client that facilitates strongly typed requests and responses for Node, Browsers and React Native.",
  "main": "dist/index.js",
  "type": "module",
  "types": "dist/esmodule/index.d.ts",
  "scripts": {
    "build": "rm -fr dist/* && npx tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./fixup.sh",
    "build:diagnostic": "npx tsc -b --extendedDiagnostics --generateTrace tracing_output_folder",
    "analyze": "npx analyze-trace --expandTypes true tracing_output_folder",
    "test": "c8 mocha ./dist/",
    "test:ci": "c8 mocha ./dist/ --reporter mocha-junit-reporter",
    "lint": "npx eslint .",
    "lint:fix": "npx eslint . --fix"
  },
  "exports": {
    ".": {
      "require": "./dist/commonjs/index.js",
      "import": "./dist/esmodule/index.js"
    },
    "./TypedHttpClient": {
      "require": "./dist/commonjs/typedClient/TypedHttpClient.js",
      "import": "./dist/esmodule/typedClient/TypedHttpClient.js"
    },
    "./JsonRevivers": {
      "require": "./dist/commonjs/JsonRevivers/index.js",
      "import": "./dist/esmodule/JsonRevivers/index.js"
    },
    "./JsonRevivers/Date": {
      "require": "./dist/commonjs/JsonRevivers/Date.js",
      "import": "./dist/esmodule/JsonRevivers/Date.js"
    },
    "./HttpClient": {
      "require": "./dist/commonjs/httpClient/HttpClient.js",
      "import": "./dist/esmodule/httpClient/HttpClient.js"
    },
    "./errors": {
      "require": "./dist/commonjs/errors.js",
      "import": "./dist/esmodule/errors.js"
    },
    "./contentTypeHandlers": {
      "require": "./dist/commonjs/contentTypeHandlers/index.js",
      "import": "./dist/esmodule/contentTypeHandlers/index.js"
    },
    "./contentTypeHandlers/JSONContentTypeHandler": {
      "require": "./dist/commonjs/contentTypeHandlers/JSONContentTypeHandler.js",
      "import": "./dist/esmodule/contentTypeHandlers/JSONContentTypeHandler.js"
    },
    "./contentTypeHandlers/WWWFormEncodedContentTypeHandler": {
      "require": "./dist/commonjs/contentTypeHandlers/WWWFormEncodedContentTypeHandler.js",
      "import": "./dist/esmodule/contentTypeHandlers/WWWFormEncodedContentTypeHandler.js"
    },
    "./types": {
      "require": "./dist/commonjs/types/index.js",
      "import": "./dist/esmodule/types/index.js"
    },
    "./types/ContentTypeHandlers": {
      "require": "./dist/commonjs/types/ContentTypeHandlers.js",
      "import": "./dist/esmodule/types/ContentTypeHandlers.js"
    },
    "./types/HttpClient": {
      "require": "./dist/commonjs/types/HttpClient.js",
      "import": "./dist/esmodule/types/HttpClient.js"
    },
    "./types/HttpCode": {
      "require": "./dist/commonjs/types/HttpCode.js",
      "import": "./dist/esmodule/types/HttpCode.js"
    },
    "./types/HttpMethod": {
      "require": "./dist/commonjs/types/HttpMethod.js",
      "import": "./dist/esmodule/types/HttpMethod.js"
    },
    "./types/MediaTypeCategory": {
      "require": "./dist/commonjs/types/MediaTypeCategory.js",
      "import": "./dist/esmodule/types/MediaTypeCategory.js"
    },
    "./types/NodeSupportedEncoding": {
      "require": "./dist/commonjs/types/NodeSupportedEncoding.js",
      "import": "./dist/esmodule/types/NodeSupportedEncoding.js"
    },
    "./types/TypedHttpClient": {
      "require": "./dist/commonjs/types/TypedHttpClient.js",
      "import": "./dist/esmodule/types/TypedHttpClient.js"
    }
  },
  "files": [
    "dist"
  ],
  "c8": {
    "extension": [
      ".ts",
      ".js",
      ".jsx",
      ".tsx"
    ],
    "include": [
      "**/*.{js,jsx,ts,tsx}"
    ],
    "exclude": [
      "**/*.d.ts",
      "**/*.spec.ts",
      "**/*.spec.tsx",
      "coverage"
    ],
    "reporter": [
      "text",
      "html",
      "cobertura"
    ],
    "all": true
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/SalmonMode/typed-http-client"
  },
  "author": "Chris NeJame",
  "license": "MIT",
  "keywords": [
    "TypeScript",
    "JavaScript",
    "rest",
    "http",
    "fetch",
    "url",
    "promise",
    "async",
    "await",
    "universal",
    "node",
    "react",
    "native",
    "browser",
    "xhr",
    "ajax",
    "client"
  ],
  "dependencies": {
    "cross-fetch": "^3.1.5"
  },
  "devDependencies": {
    "@types/chai": "^4.3.4",
    "@types/chai-as-promised": "^7.1.5",
    "@types/mocha": "^10.0.0",
    "@types/node": "^18.11.9",
    "@types/sinon": "^10.0.13",
    "@typescript-eslint/eslint-plugin": "^5.51.0",
    "@typescript-eslint/parser": "^5.51.0",
    "@typescript/analyze-trace": "^0.10.0",
    "c8": "^7.13.0",
    "chai": "^4.3.7",
    "chai-as-promised": "^7.1.1",
    "eslint": "^8.34.0",
    "mocha": "^10.1.0",
    "mocha-junit-reporter": "^2.2.0",
    "nock": "^13.2.9",
    "primitive-predicates": "^2.0.3",
    "sinon": "^14.0.2",
    "source-map-support": "^0.5.21",
    "ts-node": "^10.9.1",
    "tslib": "^2.4.1",
    "typescript": "^5.0.2"
  }
}
