UNPKG

chai-callslike

Version:

A simple sinon-chai assertion to validate many aspects of stub calls

78 lines (77 loc) 2.6 kB
{ "name": "chai-callslike", "version": "1.2.8", "description": "A simple sinon-chai assertion to validate many aspects of stub calls", "main": "dist/index.js", "files": [ "dist" ], "scripts": { "doc": "npx typedoc", "format": "prettier --write src/**/*.ts tst/**/*.ts", "lint": "npm run lint:format && npm run lint:style", "lint:fix": "npm run lint:format:fix && npm run lint:style:fix", "build": "tsc", "test": "mocha", "test:coverage": "nyc npm test", "prepublishOnly": "npm run build && npm run test:coverage", "preversion": "npm run build && npm run test:coverage", "version": "scripts/prepare $npm_package_version && npm run doc && git add .", "postversion": "git push && git push --tags", "clear": "npm run clear:build && npm run clear:modules", "clear:build": "del-cli ./dist", "clear:modules": "del-cli ./node_modules", "prebuild": "npm run clear:build && del-cli tsconfig.tsbuildinfo", "preaction:verify:update-modules": "npm run action:verify:update-modules:check", "action:verify:update-modules": "npm run action:verify:update-modules:reinstall && npm run action:verify:update-modules:clean", "action:verify:update-modules:clean": "del-cli .check", "lint:format": "prettier --check '{src,test}/**/*.ts'", "lint:format:fix": "prettier --write '{src,test}/**/*.ts'", "lint:style": "eslint '**/*.ts'", "lint:style:fix": "eslint '**/*.ts' --fix", "prepare": "husky install" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/Codibre/chai-callslike.git" }, "keywords": [ "sinon", "chai", "assertions", "calls" ], "author": "Farenheith", "license": "MIT", "bugs": { "url": "https://github.com/Codibre/chai-callslike/issues" }, "homepage": "https://github.com/Codibre/chai-callslike#readme", "devDependencies": { "@codibre/confs": "^1.1.0", "@types/chai": "^4.2.22", "@types/mocha": "^9.0.0", "@types/node": "^16.11.10", "@types/sinon-chai": "^3.2.5", "@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/parser": "^5.4.0", "chai": "^4.2.0", "eslint": "^7.4.0", "husky": "^6.0.0", "mocha": "^8.4.0", "nyc": "^15.1.0", "prettier": "^2.0.5", "reflect-metadata": "^0.1.13", "sinon-chai": "^3.7.0", "ts-node": "^10.4.0", "typedoc": "^0.17.8", "typedoc-plugin-markdown": "^2.3.1", "typescript": "^4.5.2" }, "dependencies": { "@types/sinon": "^9.0.4", "colors": "^1.4.0", "del-cli": "^3.0.1", "sinon": "^9.0.2" } }