{
  "name": "msw",
  "version": "0.49.1",
  "description": "Seamless REST/GraphQL API mocking library for browser and Node.js.",
  "main": "./lib/index.js",
  "types": "./lib/index.d.ts",
  "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"
    }
  },
  "bin": {
    "msw": "cli/index.js"
  },
  "engines": {
    "node": ">=14"
  },
  "scripts": {
    "start": "tsup --watch",
    "clean": "rimraf ./lib",
    "lint": "eslint \"{cli,config,src,test}/**/*.ts\"",
    "build": "cross-env NODE_ENV=production tsup",
    "test": "yarn test:unit && yarn test:integration",
    "test:unit": "cross-env BABEL_ENV=test jest --maxWorkers=3",
    "test:integration": "jest --config=./test/jest.config.js --maxWorkers=1",
    "test:smoke": "./config/scripts/smoke.sh",
    "test:ts": "ts-node test/typings/run.ts",
    "prepare": "yarn simple-git-hooks init",
    "prepack": "yarn build",
    "release": "release publish",
    "postinstall": "node -e \"try{require('./config/scripts/postinstall')}catch(e){}\""
  },
  "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.5",
    "@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": "^15.0.0 || ^16.0.0",
    "headers-polyfill": "^3.1.0",
    "inquirer": "^8.2.0",
    "is-node-process": "^1.0.1",
    "js-levenshtein": "^1.1.6",
    "node-fetch": "^2.6.7",
    "outvariant": "^1.3.0",
    "path-to-regexp": "^6.2.0",
    "strict-event-emitter": "^0.2.6",
    "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.2.3",
    "@ossjs/release": "^0.4.0",
    "@swc/core": "^1.3.15",
    "@swc/jest": "^0.2.23",
    "@types/fs-extra": "^9.0.13",
    "@types/jest": "26",
    "@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",
    "eslint": "^7.30.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-prettier": "^3.4.0",
    "fs-extra": "^10.0.0",
    "fs-teardown": "^0.3.0",
    "jest": "26",
    "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-loader": "^9.2.6",
    "ts-node": "^10.1.0",
    "tsup": "^5.12.8",
    "typescript": "^4.9.3",
    "url-loader": "^4.1.1",
    "webpack": "^5.68.0",
    "webpack-dev-server": "^3.11.2"
  },
  "peerDependencies": {
    "typescript": ">= 4.4.x <= 4.9.x"
  },
  "peerDependenciesMeta": {
    "typescript": {
      "optional": true
    }
  },
  "resolutions": {
    "chokidar": "3.4.1"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "simple-git-hooks": {
    "pre-commit": "yarn lint-staged",
    "prepare-commit-msg": "grep -qE '^[^#]' .git/COMMIT_EDITMSG || (exec < /dev/tty && yarn cz --hook || true)",
    "commit-msg": "yarn commitlint --edit $1"
  }
}