{ "name": "@tapjs/mock", "version": "4.4.11", "description": "tap plugin adding t.mockRequire() and t.mockImport()", "tshy": { "main": true, "exports": { ".": "./src/index.ts", "./package.json": "./package.json", "./loader": "./src/legacy-loader.mts", "./import": "./src/import.mts" }, "selfLink": false }, "type": "module", "main": "./dist/commonjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/commonjs/index.d.ts", "exports": { ".": { "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/commonjs/index.d.ts", "default": "./dist/commonjs/index.js" } }, "./package.json": "./package.json", "./loader": { "import": { "types": "./dist/esm/legacy-loader.d.mts", "default": "./dist/esm/legacy-loader.mjs" } }, "./import": { "import": { "types": "./dist/esm/import.d.mts", "default": "./dist/esm/import.mjs" } } }, "files": [ "dist" ], "scripts": { "prepare": "tshy", "pretest": "npm run prepare", "presnap": "npm run prepare", "test": "tap", "snap": "tap", "format": "prettier --write . --log-level warn --ignore-path ../../.prettierignore --cache", "typedoc": "typedoc --tsconfig tsconfig/esm.json ./src/*.ts" }, "author": "Isaac Z. Schlueter (https://blog.izs.me)", "license": "BlueOak-1.0.0", "dependencies": { "@tapjs/after": "3.3.13", "@tapjs/stack": "4.3.3", "resolve-import": "^2.4.0", "walk-up-path": "^4.0.0" }, "peerDependencies": { "@tapjs/core": "4.6.1" }, "tap": { "typecheck": false, "coverage-map": "map.js" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/tapjs/tapjs.git", "path": "src/mock" }, "homepage": "https://github.com/tapjs/tapjs/tree/main/src/mock#readme", "bugs": { "url": "https://github.com/tapjs/tapjs/issues" }, "keywords": [ "tapjs plugin" ], "funding": { "url": "https://github.com/sponsors/isaacs" }, "engines": { "node": "20 || >=22" } }