{
  "name": "msw",
  "version": "1.3.5",
  "description": "Seamless REST/GraphQL API mocking library for browser and Node.js.",
  "main": "./lib/index.js",
  "types": "./lib/index.d.ts",
  "packageManager": "pnpm@7.12.2",
  "exports": {
    ".": {
      "default": "./lib/index.js"
    },
    "./native": {
      "types": "./lib/native/index.d.ts",
      "default": "./lib/native/index.js"
    },
    "./node": {
      "types": "./lib/node/index.d.ts",
      "require": "./lib/node/index.js",
      "default": "./lib/node/index.mjs"
    },
    "./package.json": "./package.json"
  },
  "bin": {
    "msw": "cli/index.js"
  },
  "engines": {
    "node": ">=14"
  },
  "lint-staged": {
    "**/*.ts": [
      "eslint --fix"
    ],
    "**/*.{ts,json}": [
      "prettier --write"
    ]
  },
  "homepage": "https://mswjs.io",
  "repository": {
    "type": "git",
    "url": "https://github.com/mswjs/msw"
  },
  "author": {
    "name": "Artem Zakharchenko",
    "url": "https://github.com/kettanaito"
  },
  "license": "MIT",
  "funding": {
    "type": "opencollective",
    "url": "https://opencollective.com/mswjs"
  },
  "files": [
    "config/constants.js",
    "config/scripts/postinstall.js",
    "cli",
    "lib",
    "native",
    "node",
    "LICENSE.md",
    "README.md"
  ],
  "keywords": [
    "api",
    "mock",
    "mocking",
    "worker",
    "prototype",
    "server",
    "service",
    "handler",
    "testing",
    "front-end",
    "back-end"
  ],
  "sideEffects": false,
  "dependencies": {
    "@mswjs/cookies": "^0.2.2",
    "@mswjs/interceptors": "^0.17.10",
    "@open-draft/until": "^1.0.3",
    "@types/cookie": "^0.4.1",
    "@types/js-levenshtein": "^1.1.1",
    "chalk": "^4.1.1",
    "chokidar": "^3.4.2",
    "cookie": "^0.4.2",
    "graphql": "^16.8.1",
    "headers-polyfill": "3.2.5",
    "inquirer": "^8.2.0",
    "is-node-process": "^1.2.0",
    "js-levenshtein": "^1.1.6",
    "node-fetch": "^2.6.7",
    "outvariant": "^1.4.0",
    "path-to-regexp": "^6.3.0",
    "strict-event-emitter": "^0.4.3",
    "type-fest": "^2.19.0",
    "yargs": "^17.3.1"
  },
  "devDependencies": {
    "@babel/core": "^7.17.2",
    "@babel/preset-env": "^7.16.11",
    "@commitlint/cli": "^16.1.0",
    "@commitlint/config-conventional": "^16.0.0",
    "@open-draft/test-server": "^0.4.2",
    "@ossjs/release": "^0.8.1",
    "@playwright/test": "^1.30.0",
    "@swc/core": "^1.3.35",
    "@swc/jest": "^0.2.24",
    "@types/express": "^4.17.17",
    "@types/fs-extra": "^9.0.13",
    "@types/jest": "^29.4.0",
    "@types/json-bigint": "^1.0.1",
    "@types/node": "^14.14.31",
    "@types/node-fetch": "^2.5.11",
    "@types/puppeteer": "^5.4.4",
    "@typescript-eslint/eslint-plugin": "^5.11.0",
    "@typescript-eslint/parser": "^5.11.0",
    "babel-loader": "^8.2.3",
    "babel-minify": "^0.5.1",
    "commitizen": "^4.2.4",
    "cross-env": "^7.0.3",
    "cross-fetch": "^3.1.5",
    "cz-conventional-changelog": "3.3.0",
    "esbuild-loader": "^2.21.0",
    "eslint": "^7.30.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-prettier": "^3.4.0",
    "express": "^4.18.2",
    "fs-extra": "^10.0.0",
    "fs-teardown": "^0.3.0",
    "jest": "^29.4.3",
    "jest-environment-jsdom": "^29.4.3",
    "json-bigint": "^1.0.0",
    "lint-staged": "^13.0.3",
    "page-with": "^0.5.0",
    "prettier": "^2.7.1",
    "regenerator-runtime": "^0.13.9",
    "rimraf": "^3.0.2",
    "simple-git-hooks": "^2.8.0",
    "statuses": "^2.0.0",
    "ts-node": "^10.9.1",
    "tsup": "^5.12.8",
    "typescript": "^5.0.2",
    "url-loader": "^4.1.1",
    "webpack": "^5.68.0",
    "webpack-dev-server": "^3.11.2",
    "webpack-http-server": "^0.5.0"
  },
  "peerDependencies": {
    "typescript": ">= 4.4.x"
  },
  "peerDependenciesMeta": {
    "typescript": {
      "optional": true
    }
  },
  "resolutions": {
    "chokidar": "3.4.1"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "simple-git-hooks": {
    "pre-commit": "pnpm lint-staged",
    "prepare-commit-msg": "grep -qE '^[^#]' .git/COMMIT_EDITMSG || (exec < /dev/tty && pnpm cz --hook || true)",
    "commit-msg": "pnpm commitlint --edit $1"
  },
  "scripts": {
    "start": "tsup --watch",
    "clean": "rimraf ./lib",
    "lint": "eslint \"{cli,config,src,test}/**/*.ts\"",
    "build": "cross-env NODE_ENV=production tsup",
    "test": "pnpm test:unit && pnpm test:node && pnpm test:browser",
    "test:unit": "cross-env BABEL_ENV=test jest --maxWorkers=3",
    "test:node": "jest --config=./test/jest.config.js",
    "test:browser": "playwright test -c ./test/browser/playwright.config.ts",
    "test:ts": "ts-node test/typings/run.ts",
    "release": "release publish -p backport",
    "postinstall": "node -e \"try{require('./config/scripts/postinstall')}catch(e){}\""
  }
}