UNPKG

hungry-fetch

Version:
71 lines (70 loc) 1.84 kB
{ "name": "hungry-fetch", "version": "0.10.1", "description": "A hungry fetch mock.", "main": "dist/hungry-fetch.js", "umd:main": "dist/hungry-fetch.umd.js", "module": "dist/hungry-fetch.module.js", "exports": { "types": "./dist/index.d.ts", "require": "./dist/hungry-fetch.js", "default": "./dist/hungry-fetch.modern.js" }, "source": "src/index.ts", "types": "dist/index.d.ts", "scripts": { "build": "microbundle", "clean": "rimraf dist coverage", "lint": "eslint --ext .ts,.js src", "prepare": "npm run clean && npm run build", "test": "jest", "test-coverage": "jest --coverage", "release": "np" }, "repository": { "type": "git", "url": "git+https://github.com/micromata/hungry-fetch.git" }, "files": [ "dist", "src", "LICENSE" ], "keywords": [ "fetch", "mock", "hungry", "test" ], "author": "Philipp Mandler <info@philipp-mandler.com> (http://github.com/phlmn)", "license": "MIT", "bugs": { "url": "https://github.com/micromata/hungry-fetch/issues" }, "homepage": "https://github.com/micromata/hungry-fetch#readme", "devDependencies": { "@babel/plugin-proposal-object-rest-spread": "^7.15.6", "@babel/preset-env": "^7.15.6", "@types/jest": "^27.0.1", "@typescript-eslint/eslint-plugin": "^4.31.1", "@typescript-eslint/parser": "^4.31.1", "babel-jest": "^27.2.0", "eslint": "^7.32.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.24.2", "jest": "^27.2.0", "microbundle": "^0.15.1", "np": "^7.6.3", "rimraf": "^3.0.0", "ts-jest": "^27.0.5", "typescript": "^4.4.3", "whatwg-fetch": "^3.6.2" }, "jest": { "setupFiles": [ "<rootDir>/jestSetup.ts" ], "preset": "ts-jest", "testEnvironment": "jsdom" } }