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
71 lines (70 loc) • 1.53 kB
JSON
{
"name": "esmocha",
"version": "3.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": {
"@node-loaders/esbuild": "^2.0.0",
"@types/mocha": "^10.0.10",
"jest-mock": "^29.7.0",
"mocha-expect-snapshot": "^7.1.0",
"quibble": "^0.9.2",
"stack-utils": "^2.0.6"
},
"devDependencies": {
"@types/node": "^18.18.6",
"cpy-cli": "^4.2.0",
"prettier-plugin-packagejson": "^2.4.6",
"rimraf": "^5.0.5",
"typescript": "^5.2.2",
"xo": "^0.54.2"
},
"peerDependencies": {
"mocha": "^11.0.1"
},
"engines": {
"node": "^18.19.0 || ^20.9.0 || >=21.1.0"
}
}