UNPKG

jest-mock-axios

Version:
53 lines (52 loc) 1.41 kB
{ "name": "jest-mock-axios", "version": "4.9.1", "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": "~30.0.0", "cross-env": "^10.0.0", "rimraf": "^6.0.1", "ts-jest": "^29.4.1", "tslint": "^6.1.3", "tsup": "^8.5.0", "typescript": "^5.9.2" }, "dependencies": { "@jest/globals": "^30.5.1", "jest": "^30.5.1", "synchronous-promise": "^2.0.18" } }