{
  "name": "@ef-carbon/fetch",
  "version": "2.1.3",
  "description": "WHATWG Fetch TypeScript Definitions",
  "main": "dist/lib/index.umd.js",
  "module": "dist/lib/index.js",
  "types": "dist/lib/index.d.ts",
  "homepage": "https://ef-carbon.github.io/fetch/",
  "repository": "https://github.com/ef-carbon/fetch.git",
  "license": "MIT",
  "engines": {
    "node": ">=8.3"
  },
  "scripts": {
    "prepare": "yarn -s replace:snapshots",
    "replace:snapshots": "replace-in-file __snapshots__ fixtures 'node_modules/jest*/**/*.js'",
    "prepublishOnly": "yarn -s build",
    "commit": "git-cz",
    "distclean": "git clean -Xfd",
    "clean": "git clean -Xfde node_modules",
    "build": "yarn -s build:ts",
    "postbuild": "ef-tspm -s && yarn -s build:rollup",
    "build:ts": "tsc",
    "build:rollup": "yarn -s build:rollup:bundle && yarn -s build:rollup:polyfill",
    "build:rollup:bundle": "rollup -c",
    "build:rollup:polyfill": "rollup -c rollup.polyfill.config.js",
    "format": "yarn -s lint:format:fix",
    "lint": "yarn -s lint:ts && yarn -s lint:format && yarn -s lint:commit && yarn -s lint:ci && yarn -s lint:md",
    "lint:fix": "yarn -s lint:ts:fix && yarn -s lint:format:fix",
    "lint:ci": "yamllint .circleci/config.yml",
    "lint:ts": "tslint --project lint -t verbose",
    "lint:ts:fix": "yarn -s lint:ts --fix",
    "lint:md": "yarn -s lint:md:pitchme && yarn -s lint:md:readme && yarn -s lint:md:docs",
    "lint:md:pitchme": "yarn -s markdownlint --config .markdownlint.pitchme.json PITCHME.md",
    "lint:md:readme": "yarn -s markdownlint --config .markdownlint.json README.md",
    "lint:md:docs": "yarn -s markdownlint --config .markdownlint.docs.json docs/README.md",
    "lint:format": "yarn -s lint:format:fix --verify",
    "lint:format:fix": "tsfmt --useTsconfig lint/tsconfig.json -r",
    "lint:commit": "commitlint --from=$(git merge-base origin/master HEAD) --to=HEAD",
    "watch:ts": "tsc -w",
    "watch:test": "jest --watch",
    "test": "jest",
    "coverage": "yarn -s test --coverage",
    "ci": "yarn -s build && yarn -s lint && yarn -s test && yarn -s docs",
    "fix": "yarn -s lint:fix",
    "docs": "yarn -s typedoc lib",
    "docs:open": "yarn -s opn dist/docs/index.html"
  },
  "husky": {
    "hooks": {
      "pre-push": "yarn -s ci",
      "commit-msg": "commitlint -e $GIT_PARAMS"
    }
  },
  "directories": {
    "lib": "lib",
    "test": "test",
    "doc": "docs"
  },
  "dependencies": {},
  "peerDependencies": {
    "@ef-carbon/url": "^2.0.0"
  },
  "optionalDependencies": {
    "node-fetch": "^2.2.0"
  },
  "devDependencies": {
    "@babel/core": "^7.0.0-0",
    "@babel/preset-env": "^7.0.0",
    "@commitlint/cli": "^7.1.1",
    "@commitlint/config-conventional": "^7.1.1",
    "@ef-carbon/tspm": "^2.2.5",
    "@ef-carbon/url": "^2.4.1",
    "@semantic-release/changelog": "^3.0.0",
    "@semantic-release/git": "^7.0.3",
    "@types/body-parser": "^1.17.0",
    "@types/express": "^4.16.0",
    "@types/jest": "^23.3.1",
    "@types/node-fetch": "^2.1.2",
    "babel-core": "^7.0.0-0",
    "babel-jest": "^23.0.0",
    "body-parser": "^1.18.3",
    "codecov": "^3.0.4",
    "commitizen": "^2.10.1",
    "cz-conventional-changelog": "^2.1.0",
    "express": "^4.16.3",
    "husky": "^1.0.0-rc.9",
    "jest": "^23.5.0",
    "jest-junit-reporter": "^1.1.0",
    "markdownlint-cli": "^0.13.0",
    "marked": "^0.4.0",
    "opn-cli": "^3.1.0",
    "replace-in-file": "^3.4.2",
    "rollup": "^0.65.0",
    "rollup-plugin-babel": "^4.0.2",
    "semantic-release": "^15.9.12",
    "ts-jest": "^23.1.4",
    "tslint": "^5.11.0",
    "typedoc": "^0.12.0",
    "typescript": "^3.0.1",
    "typescript-formatter": "^7.2.2",
    "yaml-lint": "^1.2.4"
  },
  "config": {
    "commitizen": {
      "path": "cz-conventional-changelog"
    }
  },
  "jest": {
    "globals": {
      "ts-jest": {
        "tsConfigFile": "test/tsconfig.json",
        "enableTsDiagnostics": true
      }
    },
    "moduleFileExtensions": [
      "ts",
      "js"
    ],
    "transform": {
      "^.+\\.(ts|tsx)$": "ts-jest"
    },
    "testMatch": [
      "**/test/**/*.test.(ts|js)"
    ],
    "testEnvironment": "node",
    "moduleNameMapper": {
      "^@test(.*)$": "<rootDir>/test$1",
      "^@lib(.*)$": "<rootDir>/lib$1",
      "^@body(.*)$": "<rootDir>/lib/body$1",
      "^@response(.*)$": "<rootDir>/lib/response$1",
      "^@request(.*)$": "<rootDir>/lib/request$1",
      "^@headers(.*)$": "<rootDir>/lib/headers$1",
      "^@shim(.*)$": "<rootDir>/lib/shim$1"
    }
  }
}
