{"name":"msw","version":"0.47.2","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":{"default":"./lib/native/index.js"},"./node":{"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":"yarn tsc -p ./test/typings/tsconfig.json","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"},"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.2","@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.0.4","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","statuses":"^2.0.0","strict-event-emitter":"^0.2.0","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.3.0","@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","ts-jest":"26","ts-loader":"^9.2.6","ts-node":"^10.1.0","tsup":"^5.12.8","typescript":"^4.8.2","url-loader":"^4.1.1","webpack":"^5.68.0","webpack-dev-server":"^3.11.2"},"peerDependencies":{"typescript":">= 4.2.x <= 4.8.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"},"licenseText":"MIT License\n\nCopyright (c) 2018–present Artem Zakharchenko\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"msw@0.47.2","dist":{"shasum":"d24120506f2124a8e4c0d6170a88d12c48129384","size":446059,"noattachment":false,"key":"/msw/-/msw-0.47.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/msw/download/msw-0.47.2.tgz"},"_npmUser":{"name":"kettanaito","email":"kettanaito@gmail.com"},"directories":{},"maintainers":[{"name":"kettanaito","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/msw_0.47.2_1663029303527_0.32241617350432095"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-13T00:39:09.758Z","hasInstallScript":true,"publish_time":1663029303810,"_cnpm_publish_time":1663029303810,"dist-tags":{"backport":"1.3.5","beta":"0.0.0-fetch.rc-4","latest":"2.12.14","next":"2.3.0-ws.rc-12"}}