jest-mock-axios
Version:
Axios mock for Jest
53 lines (52 loc) • 1.41 kB
JSON
{
"name": "jest-mock-axios",
"version": "4.7.3",
"description": "Axios mock for Jest",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"scripts": {
"clean": "rimraf ./dist",
"lint": "tslint -c tslint.json 'lib/**/*.ts' 'test/**/*.ts'",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"build": "tsup lib/index.ts --format cjs,esm --dts --clean",
"deploy2npm": "npm run build && npm publish",
"test": "jest --watch",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/knee-cola/jest-mock-axios.git"
},
"keywords": [
"axios",
"jest",
"mock"
],
"author": "knee-cola <nikola.derezic@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/knee-cola/jest-mock-axios/issues"
},
"homepage": "https://github.com/knee-cola/jest-mock-axios#readme",
"devDependencies": {
"@types/jest": "~29.5.5",
"cross-env": "^7.0.3",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.1",
"tslint": "^6.1.3",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@jest/globals": "^29.7.0",
"jest": "~29.7.0",
"synchronous-promise": "^2.0.17"
}
}