UNPKG

request-mocking-protocol

Version:
84 lines (83 loc) 2.13 kB
{ "name": "request-mocking-protocol", "description": "A protocol for declarative mocking of HTTP requests", "version": "0.1.3", "type": "commonjs", "repository": { "type": "git", "url": "git://github.com/vitalets/request-mocking-protocol.git" }, "main": "./dist/index.js", "exports": { ".": "./dist/index.js", "./msw": "./dist/interceptors/msw.js", "./fetch": "./dist/interceptors/fetch.js", "./playwright": "./dist/interceptors/playwright.js", "./package.json": "./package.json" }, "typesVersions": { "*": { "fetch": [ "./dist/interceptors/fetch.d.ts" ], "msw": [ "./dist/interceptors/msw.d.ts" ], "playwright": [ "./dist/interceptors/playwright.d.ts" ] } }, "engines": { "node": ">=18" }, "files": [ "dist", "src", "README.md" ], "scripts": { "prepare": "git config core.hooksPath scripts/git-hooks", "lint": "eslint . --no-warn-ignored", "tsc": "tsc", "prettier": "prettier --check --ignore-unknown .", "prettier:w": "prettier --write --ignore-unknown .", "test": "vitest run --no-cache --testTimeout 10000 --dir ./test", "toc": "md-magic --files README.md", "build": "./scripts/build.sh", "release": "release-it" }, "dependencies": { "lodash": "^4.17.21", "urlpattern-polyfill": "^10.1.0" }, "devDependencies": { "@eslint/js": "^9.29.0", "@playwright/test": "^1.51.1", "@release-it/keep-a-changelog": "^7.0.0", "@types/lodash": "^4.17.18", "@types/node": "^18.15.0", "eslint": "^9.29.0", "eslint-plugin-visual-complexity": "0.1.4", "globals": "^16.2.0", "knip": "^5.61.2", "lint-staged": "^16.1.2", "markdown-magic": "^3.7.0", "msw": "^2.10.2", "prettier": "^3.4.2", "publint": "^0.3.12", "release-it": "^19.0.3", "typescript": "^5.8.3", "typescript-eslint": "^8.34.1", "vitest": "^3.2.4" }, "keywords": [ "mocking", "testing", "e2e", "network", "requests" ], "funding": "https://github.com/sponsors/vitalets", "license": "MIT" }