@4c/fetch-mock
Version:
Mock http requests made using fetch (or isomorphic-fetch)
82 lines (81 loc) • 1.78 kB
JSON
{
"name": "@4c/fetch-mock",
"version": "8.0.0",
"description": "Mock http requests made using fetch (or isomorphic-fetch)",
"main": "src/server.js",
"browser": "es5/client.js",
"scripts": {
"test": "make lint test",
"prepublishOnly": "make transpile bundle",
"postinstall": "node scripts/support-fetch-mock.js"
},
"babel": {
"presets": [
"@babel/env"
],
"plugins": [
[
"@babel/transform-runtime",
{
"corejs": "3"
}
]
]
},
"repository": {
"type": "git",
"url": "https://github.com/wheresrhys/fetch-mock.git"
},
"keywords": [
"fetch",
"http",
"mock",
"testing",
"spy",
"xhr",
"ajax"
],
"author": "Rhys Evans",
"license": "MIT",
"bugs": {
"url": "https://github.com/wheresrhys/fetch-mock/issues"
},
"homepage": "http://www.wheresrhys.co.uk/fetch-mock",
"dependencies": {
"@babel/runtime-corejs3": "^7.4.5",
"glob-to-regexp": "^0.4.0",
"path-to-regexp": "^2.2.1",
"whatwg-url": "^6.5.0"
},
"engines": {
"node": ">=4.0.0"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"babel-loader": "^8.0.6",
"bluebird": "^3.4.6",
"chai": "^4.1.2",
"coveralls": "^3.0.0",
"eslint": "^4.14.0",
"eslint-config-origami-component": "^1.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-prettier": "^2.6.1",
"karma": "^3.1.4",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-webpack": "^3.0.0",
"mocha": "^5.1.1",
"node-fetch": "^2.0.0",
"nyc": "^11.7.3",
"prettier": "^1.13.7",
"sinon": "^4.5.0",
"sinon-chai": "^2.14.0",
"webpack": "^4.0.0",
"webpack-cli": "^3.0.0"
}
}