esmocha
Version:
[Mocha](https://mochajs.org) wrapper with built-in [typescript](https://github.com/node-loaders/loaders/tree/main/workspaces/esbuild), built-in [expect](https://jestjs.io/docs/expect) with [mock](https://github.com/node-loaders/loaders/tree/main/workspace
78 lines (77 loc) • 1.7 kB
JSON
{
"name": "esmocha",
"version": "5.0.0",
"keywords": [
"mocha",
"typescript",
"esbuild",
"mock",
"expect",
"snapshot",
"jest-snapshot",
"jest-mock"
],
"homepage": "https://github.com/mshima/esmocha",
"bugs": "https://github.com/mshima/esmocha/issues",
"repository": {
"type": "git",
"url": "git://github.com/mshima/esmocha.git"
},
"author": {
"name": "Marcelo Shima",
"url": "https://github.com/mshima"
},
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./mocha": {
"default": "./dist/mocha.cjs"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": "./dist/bin.cjs",
"files": [
"dist"
],
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc",
"postbuild": "cpy bin.cjs ../dist --cwd=src",
"prepare": "npm run build",
"pretest": "npm run build",
"test": "node dist/bin.cjs"
},
"dependencies": {
"@types/mocha": "^10.0.10",
"jest-mock": "^30.2.0",
"mocha-expect-snapshot": "^8.0.0",
"quibble": "^0.9.2",
"stack-utils": "^2.0.6"
},
"devDependencies": {
"@node-loaders/esbuild": "^2.0.0",
"@types/node": "^25.0.1",
"cpy-cli": "^4.2.0",
"prettier": "3.7.4",
"prettier-plugin-packagejson": "^2.5.20",
"rimraf": "^6.1.2",
"typescript": "^5.9.3",
"xo": "1.2.3"
},
"peerDependencies": {
"@node-loaders/esbuild": "^2.0.0",
"mocha": "^11.7.1"
},
"peerDependenciesMeta": {
"@node-loaders/esbuild": {
"optional": true
}
},
"engines": {
"node": "^18.19.0 || ^20.9.0 || ^22.0.0 || >=24.0.0"
}
}