UNPKG

hanbi

Version:

A small javascript library for stubbing and spying on methods/functions.

49 lines (48 loc) 1.24 kB
{ "name": "hanbi", "version": "2.2.0", "description": "A small javascript library for stubbing and spying on methods/functions.", "type": "module", "types": "./lib/main.d.ts", "main": "./lib/main.js", "exports": { "default": "./lib/main.js" }, "files": [ "lib", "!lib/test" ], "scripts": { "clean": "premove ./lib", "lint": "eslint \"src/**/*.ts\"", "prebuild": "npm run clean", "build": "tsc", "test": "mocha lib", "format": "prettier --write \"src/**/*.ts\"", "prepare": "npm run build", "prepublishOnly": "npm run lint && npm run test" }, "repository": { "type": "git", "url": "git+https://github.com/43081j/hanbi.git" }, "author": "James Garbutt (https://github.com/43081j)", "license": "MIT", "bugs": { "url": "https://github.com/43081j/hanbi/issues" }, "homepage": "https://github.com/43081j/hanbi#readme", "devDependencies": { "@eslint/js": "^10.0.1", "@types/chai": "^5.2.3", "@types/mocha": "^10.0.10", "chai": "^6.2.2", "esbuild": "^0.27.3", "eslint": "^10.0.2", "mocha": "^11.7.5", "premove": "^4.0.0", "prettier": "^3.8.1", "typescript": "^5.9.3", "typescript-eslint": "^8.56.1" } }