chai-jest
Version:
Chai bindings for jest mocks.
73 lines (72 loc) • 2.2 kB
JSON
{
"name": "chai-jest",
"version": "1.0.3",
"description": "Chai bindings for jest mocks.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*"
],
"scripts": {
"test": "npm run build && npm run lint && npm run test:unittest",
"build": "tsc",
"clean": "rm -rf dist types coverage",
"test:unittest": "tsc -p test && jest",
"precommit:test": "lint-staged && npm run precommit:unittest",
"lint": "npm run lint:source && npm run lint:tests",
"lint:source": "eslint --ext .ts --ext .tsx src",
"lint:tests": "eslint --ext .ts --ext .tsx test",
"prepare": "husky install && npm run build",
"prepublishOnly": "npm run build && npm test",
"semantic-release": "semantic-release"
},
"lint-staged": {
"**/*.ts": [
"eslint --ext ts --ext tsx"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/jwalton/chai-jest.git"
},
"keywords": [
"chai",
"jest",
"unittest",
"test"
],
"author": {
"name": "Jason Walton",
"email": "dev@lucid.thedreaming.org",
"url": "https://www.thedreaming.org"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/exegesis-js/jwalton/chai-jest/issues"
},
"homepage": "https://github.com/jwalton/chai-jest#readme",
"devDependencies": {
"@types/chai": "^4.2.12",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.29",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.1.0",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^7.0.1",
"jest": "^27.0.6",
"lint-staged": "^12.1.5",
"prettier": "^2.1.1",
"pretty-quick": "^3.0.0",
"semantic-release": "^19.0.2",
"ts-jest": "^27.0.3",
"ts-node": "^10.0.0",
"typescript": "^4.0.2"
},
"peerDependencies": {
"expect": ">= 27.0.6"
}
}