{
  "name": "mockttp",
  "version": "3.15.5",
  "description": "Mock HTTP server for testing HTTP clients and stubbing webservices",
  "exports": {
    ".": {
      "types": "./dist/main.d.ts",
      "node": "./dist/main.js",
      "browser": "./dist/main.browser.js",
      "default": "./dist/main.browser.js"
    },
    "./pluggable-admin": {
      "types": "./dist/pluggable-admin-api/pluggable-admin.d.ts",
      "node": "./dist/pluggable-admin-api/pluggable-admin.js",
      "browser": "./dist/pluggable-admin-api/pluggable-admin.browser.js",
      "default": "./dist/pluggable-admin-api/pluggable-admin.browser.js"
    },
    "./mockttp-pluggable-admin": {
      "types": "./dist/pluggable-admin-api/mockttp-pluggable-admin.d.ts",
      "node": "./dist/pluggable-admin-api/mockttp-pluggable-admin.js",
      "browser": "./dist/pluggable-admin-api/mockttp-pluggable-admin.browser.js",
      "default": "./dist/pluggable-admin-api/mockttp-pluggable-admin.browser.js"
    },
    "./dist/main.js": {
      "node": "./dist/main.js",
      "browser": "./dist/main.browser.js",
      "default": "./dist/main.browser.js"
    },
    "./dist/*": {
      "default": "./dist/*.js"
    }
  },
  "main": "dist/main.js",
  "types": "dist/main.d.ts",
  "browser": {
    "dist/main.js": "./dist/main.browser.js",
    "dist/pluggable-admin-api/pluggable-admin.js": "./dist/pluggable-admin-api/pluggable-admin.browser.js",
    "dist/pluggable-admin-api/mockttp-pluggable-admin.js": "./dist/pluggable-admin-api/mockttp-pluggable-admin.browser.js",
    "dns": false,
    "os": false,
    "fs": false,
    "net": false,
    "tls": false,
    "http": false,
    "https": false,
    "http2": false,
    "http2-wrapper": false,
    "cross-fetch": false,
    "cacheable-lookup": false,
    "@httptoolkit/proxy-agent": false
  },
  "bin": {
    "mockttp": "dist/admin/admin-bin.js"
  },
  "runkitExampleFilename": "./docs/runkitExample.js",
  "files": [
    "dist",
    "src",
    "custom-typings",
    "docs"
  ],
  "scripts": {
    "prebuild": "rimraf dist/*",
    "build": "npm run build:src && npm run build:doc",
    "build:src": "tsc && chmod +x ./dist/admin/admin-bin.js",
    "build:doc": "typedoc src/main.ts",
    "postbuild:doc": "touch ./typedoc/.nojekyll",
    "test": "npm run build && npm run test:node && npm run test:browser",
    "test:node": "NODE_EXTRA_CA_CERTS=./test/fixtures/test-ca.pem TS_NODE_FILES=true mocha -r ts-node/register 'test/**/*.spec.ts'",
    "test:browser": "npm run with-admin -- karma start",
    "test:browser:debug": "npm run with-admin -- karma start --single-run=false --browsers ChromeWithCert",
    "admin": "TS_NODE_FILES=true ts-node -e 'require(\"./src/main\").getAdminServer({ debug: true }).start()'",
    "with-admin": "TS_NODE_FILES=true ts-node ./src/admin/admin-bin.ts -c ",
    "ci-tests": "npm run test && catch-uncommitted",
    "prepack": "npm run build"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/httptoolkit/mockttp.git"
  },
  "keywords": [
    "testing",
    "test",
    "mock",
    "mockttp",
    "stub",
    "fake",
    "http",
    "server"
  ],
  "author": "Tim Perry <pimterry@gmail.com>",
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/httptoolkit/mockttp/issues"
  },
  "homepage": "https://github.com/httptoolkit/mockttp#readme",
  "devDependencies": {
    "@types/base64-arraybuffer": "0.1.0",
    "@types/body-parser": "1.19.1",
    "@types/chai": "4.2.21",
    "@types/chai-as-promised": "7.1.4",
    "@types/common-tags": "1.8.1",
    "@types/connect": "3.4.35",
    "@types/dns2": "1.4.0",
    "@types/express": "4.17.13",
    "@types/lodash": "4.14.178",
    "@types/mocha": "8.2.3",
    "@types/native-duplexpair": "^1.0.0",
    "@types/node-forge": "1.0.0",
    "@types/request": "2.48.7",
    "@types/semver": "7.5.0",
    "@types/shelljs": "0.8.9",
    "@types/source-map-support": "0.4.2",
    "@types/uuid": "8.3.4",
    "@types/ws": " 8.5.3",
    "assert": "^2.0.0",
    "brotli-wasm": "^1.0.0",
    "browserify-zlib": "^0.2.0",
    "buffer": "^6.0.3",
    "catch-uncommitted": "^1.0.0",
    "chai": "^4.3.7",
    "chai-as-promised": "^7.1.1",
    "chai-fetch": "^0.3.1",
    "crypto-browserify": "^3.12.0",
    "dns2": "1.4.2",
    "form-data-encoder": "^1.7.2",
    "formdata-node": "^4.3.2",
    "http-proxy-agent": "^5.0.0",
    "karma": "^6.3.2",
    "karma-chai": "^0.1.0",
    "karma-chrome-launcher": "^2.2.0",
    "karma-mocha": "^2.0.1",
    "karma-sourcemap-loader": "^0.3.7",
    "karma-spec-reporter": "0.0.32",
    "karma-webpack": "^5.0.0",
    "mocha": "^9.1.3",
    "node-abort-controller": "^3.0.1",
    "opn": "^5.1.0",
    "path-browserify": "^1.0.1",
    "process": "^0.11.10",
    "querystring-es3": "^0.2.1",
    "request": "^2.75.0",
    "request-promise-native": "^1.0.3",
    "rimraf": "^2.5.4",
    "source-map-support": "^0.5.3",
    "stream-browserify": "^3.0.0",
    "tmp-promise": "^1.0.3",
    "ts-loader": "^9.2.9",
    "ts-node": "^10.9.2",
    "typedoc": "^0.26.7",
    "typescript": "5.6.2",
    "url": "^0.11.0",
    "util": "^0.12.4",
    "webpack": "^5.72.0",
    "zlib-browserify": "^0.0.3",
    "zstd-codec": "^0.1.4"
  },
  "engines": {
    "node": ">=14.14.0"
  },
  "dependencies": {
    "@graphql-tools/schema": "^8.5.0",
    "@graphql-tools/utils": "^8.8.0",
    "@httptoolkit/httpolyglot": "^2.2.1",
    "@httptoolkit/subscriptions-transport-ws": "^0.11.2",
    "@httptoolkit/websocket-stream": "^6.0.1",
    "@types/cors": "^2.8.6",
    "@types/node": "*",
    "async-mutex": "^0.5.0",
    "base64-arraybuffer": "^0.1.5",
    "body-parser": "^1.15.2",
    "cacheable-lookup": "^6.0.0",
    "common-tags": "^1.8.0",
    "connect": "^3.7.0",
    "cors": "^2.8.4",
    "cors-gate": "^1.1.3",
    "cross-fetch": "^3.1.5",
    "destroyable-server": "^1.0.2",
    "express": "^4.14.0",
    "fast-json-patch": "^3.1.1",
    "graphql": "^14.0.2 || ^15.5",
    "graphql-http": "^1.22.0",
    "graphql-subscriptions": "^1.1.0",
    "graphql-tag": "^2.12.6",
    "http-encoding": "^2.0.1",
    "http2-wrapper": "^2.2.1",
    "https-proxy-agent": "^5.0.1",
    "isomorphic-ws": "^4.0.1",
    "lodash": "^4.16.4",
    "lru-cache": "^7.14.0",
    "native-duplexpair": "^1.0.0",
    "node-forge": "^1.2.1",
    "pac-proxy-agent": "^7.0.0",
    "parse-multipart-data": "^1.4.0",
    "performance-now": "^2.1.0",
    "portfinder": "^1.0.32",
    "read-tls-client-hello": "^1.0.0",
    "semver": "^7.5.3",
    "socks-proxy-agent": "^7.0.0",
    "typed-error": "^3.0.2",
    "urlpattern-polyfill": "^8.0.0",
    "uuid": "^8.3.2",
    "ws": "^8.8.0"
  }
}
