UNPKG

mock-import

Version:

Mocking of Node.js EcmaScript modules

66 lines (65 loc) 1.67 kB
{ "name": "mock-import", "version": "5.0.0", "type": "module", "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", "description": "Mocking of Node.js EcmaScript modules", "main": "./lib/mock-import.js", "exports": { ".": "./lib/mock-import.js", "./register": "./lib/register.js" }, "repository": { "type": "git", "url": "git+https://github.com/coderaiser/mock-import.git" }, "keywords": [ "mock", "import" ], "scripts": { "test": "madrun test", "test:dts": "madrun test:dts", "coverage": "madrun coverage", "lint": "madrun lint", "fresh:lint": "madrun fresh:lint", "lint:fresh": "madrun lint:fresh", "fix:lint": "madrun fix:lint", "wisdom": "madrun wisdom", "report": "madrun report", "watcher": "madrun watcher", "watch:test": "madrun watch:test", "watch:lint": "madrun watch:lint", "watch:tape": "madrun watch:tape", "watch:coverage": "madrun watch:coverage" }, "dependencies": { "estrace": "^6.0.1", "putout": "^41.0.0", "try-catch": "^3.0.0", "try-to-catch": "^3.0.0" }, "license": "MIT", "devDependencies": { "@cloudcmd/stub": "^4.0.1", "@putout/eslint-flat": "^3.0.3", "@putout/test": "^14.1.0", "c8": "^10.1.2", "check-dts": "^0.9.0", "escover": "^5.0.0", "eslint": "^9.4.0", "eslint-plugin-putout": "^29.0.2", "madrun": "^11.0.3", "mock-require": "^3.0.3", "nodemon": "^3.0.1", "runsome": "^1.0.0", "supertape": "^11.3.1", "typescript": "^5.0.4" }, "engines": { "node": ">=20" }, "publishConfig": { "access": "public" } }