UNPKG

fetch-mock-one.com

Version:

Mock http requests made using fetch (or isomorphic-fetch) (FORK)

87 lines (86 loc) 1.99 kB
{ "name": "fetch-mock-one.com", "version": "7.3.1-fork-0.1.0", "description": "Mock http requests made using fetch (or isomorphic-fetch) (FORK)", "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": [ [ "env", { "useBuiltIns": "entry" } ] ], "plugins": [ [ "transform-runtime", { "polyfill": true } ] ] }, "repository": { "type": "git", "url": "https://github.com/One-com/fetch-mock" }, "keywords": [ "fetch", "http", "mock", "testing", "spy", "xhr", "ajax" ], "author": "Sergey Poskachey", "license": "MIT", "bugs": { "url": "https://github.com/One-com/fetch-mock/issues" }, "homepage": "http://www.wheresrhys.co.uk/fetch-mock", "dependencies": { "babel-polyfill": "^6.26.0", "glob-to-regexp": "^0.4.0", "path-to-regexp": "^2.2.1", "url-parse": "^1.4.6" }, "engines": { "node": ">=4.0.0" }, "devDependencies": { "babel-cli": "^6.1.2", "babel-loader": "^7.1.2", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.7.0", "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", "whatwg-url": "^7.0.0" } }