strong-mock
Version:
Type safe mocking library for TypeScript
74 lines • 1.82 kB
JSON
{
"name": "strong-mock",
"version": "9.2.2",
"description": "Type safe mocking library for TypeScript",
"keywords": [
"tdd",
"test",
"mock",
"stub",
"fake",
"test double",
"expectation",
"interface",
"type",
"typescript",
"ts",
"diff",
"matcher"
],
"repository": {
"type": "git",
"url": "git+https://github.com/NiGhTTraX/strong-mock.git"
},
"author": "Andrei Picus",
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"dependencies": {
"jest-diff": "~30.3.0",
"jest-matcher-utils": "~30.3.0",
"lodash": "~4.18.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "~0.18.0",
"@nighttrax/eslint-config-ts": "~12.2.0",
"@types/lodash": "~4.17.0",
"@types/node": "~24.12.0",
"@vitest/coverage-v8": "~4.1.0",
"doctoc": "~2.4.0",
"eslint": "~9.39.0",
"prettier": "~3.8.0",
"sm-old": "npm:strong-mock@8.0.1",
"standard-version": "~9.5.0",
"strip-ansi": "~7.2.0",
"tsup": "~8.5.0",
"typescript": "~5.9.2",
"vitest": "~4.1.0"
},
"scripts": {
"docs": "doctoc --title '**Table of Contents**' README.md",
"build": "tsup src/index.ts --format cjs,esm --dts --clean --tsconfig tsconfig.build.json",
"check-types": "attw --pack .",
"release": "standard-version",
"lint": "eslint --quiet .",
"test": "vitest --coverage",
"test-build": "node tests/build.cjs && node tests/build.mjs",
"posttest": "tsc -p tsconfig.test.json"
}
}