UNPKG

jest-mock-process

Version:

Easily mock NodeJS process properties in Jest

62 lines (61 loc) 1.39 kB
{ "name": "jest-mock-process", "version": "2.0.0", "description": "Easily mock NodeJS process properties in Jest", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "coverage": "jest --coverage --coverageReporters=text-lcov | coveralls", "postversion": "git push --follow-tags", "test": "jest --coverage", "test:watch": "jest --coverage --watchAll" }, "repository": { "type": "git", "url": "git+https://github.com/EpicEric/jest-mock-process.git" }, "keywords": [ "jest", "mock", "node", "process", "exit", "stdout", "stderr" ], "author": "Eric Rodrigues Pires <eric@eric.dev.br>", "license": "MIT", "bugs": { "url": "https://github.com/EpicEric/jest-mock-process/issues" }, "homepage": "https://github.com/EpicEric/jest-mock-process#readme", "devDependencies": { "@types/jest": "^27.5.2", "@types/node": "^10.17.28", "coveralls": "^3.1.1", "jest": "^28.1.0", "ts-jest": "^28.0.3", "typescript": "4.5" }, "peerDependencies": { "jest": ">=23.4" }, "jest": { "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "transform": { "^.+\\.tsx?$": "ts-jest" }, "testEnvironment": "node", "testMatch": [ "**/__tests__/**/*.test.(ts|tsx)" ] } }