{
  "name": "fetchit",
  "version": "3.0.0",
  "description": "Extra utilities for `fetch` that work in both Node and the browser.",
  "repository": {
    "type": "git",
    "url": "https://github.com/shnhrrsn/fetchit.git"
  },
  "license": "MIT",
  "author": "Shaun Harrison (@shnhrrsn)",
  "type": "module",
  "exports": {
    ".": [
      {
        "require": {
          "path": "./src/cjs/node.cjs",
          "types": "./types/cjs/node.d.ts"
        },
        "import": {
          "path": "./src/node.js",
          "types": "./types/node.d.ts"
        },
        "browser": {
          "require": {
            "path": "./src/cjs/browser.cjs",
            "types": "./types/cjs/browser.d.ts"
          },
          "import": {
            "path": "./src/browser.js",
            "types": "./types/browser.d.ts"
          }
        }
      },
      "./src/node.js"
    ],
    "./StatusCodeError": [
      {
        "import": "./src/shared/StatusCodeError.js",
        "types": "./types/shared/StatusCodeError.d.ts"
      },
      "./src/shared/StatusCodeError.js"
    ],
    "./modules": [
      {
        "import": "./src/modules.js",
        "types": "./types/modules.d.ts"
      },
      "./src/modules.js"
    ]
  },
  "main": "./src/cjs/node.cjs",
  "browser": "./src/cjs/browser.cjs",
  "types": "./types/cjs/node.d.ts",
  "scripts": {
    "build": "tsc -p jsconfig.json --noEmit",
    "coverage": "c8 --check-coverage ava",
    "prepack": "yarn build",
    "prepare": "husky install",
    "release": "standard-version",
    "release:beta": "standard-version --prerelease beta",
    "test": "c8 ava"
  },
  "devDependencies": {
    "@commitlint/cli": "^17.1.2",
    "@commitlint/config-conventional": "^17.1.0",
    "@types/node": "^17.0.24",
    "@types/node-fetch": "^2.6.1",
    "@types/node-fetch1": "npm:@types/node-fetch@^2.6.1",
    "@types/node-fetch2": "npm:@types/node-fetch@^2.6.1",
    "@types/node-fetch3": "npm:@types/node-fetch@^2.6.1",
    "@ungap/url-search-params": "^0.2.2",
    "ava": "^4.2.0",
    "c8": "^7.12.0",
    "execa": "^6.1.0",
    "formdata-node": "^5.0.0",
    "globby": "^13.1.1",
    "husky": "^7.0.4",
    "lint-staged": "^12.3.8",
    "node-fetch1": "npm:node-fetch@1.*",
    "node-fetch2": "npm:node-fetch@2.*",
    "node-fetch3": "npm:node-fetch@3.*",
    "prettier": "^2.6.2",
    "prettier-plugin-organize-imports": "^2.3.4",
    "prettier-plugin-packagejson": "^2.2.17",
    "standard-version": "^9.5.0",
    "typescript": "^4.6.3"
  },
  "optionalDependencies": {
    "node-fetch": "*"
  },
  "packageManager": "yarn@3.2.0",
  "engines": {
    "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
  }
}
