UNPKG

fetch-mock

Version:

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

50 lines (49 loc) 1.21 kB
{ "name": "fetch-mock", "version": "2.2.12", "description": "Mock http requests made using fetch (or isomorphic-fetch)", "main": "es5/client.js", "scripts": { "test": "make test", "prepublish": "babel src --out-dir es5 --presets es2015" }, "repository": { "type": "git", "url": "https://github.com/wheresrhys/fetch-mock.git" }, "keywords": [ "fetch", "http", "mock", "testing", "spy" ], "author": "Rhys Evans", "license": "ISC", "bugs": { "url": "https://github.com/wheresrhys/fetch-mock/issues" }, "homepage": "https://github.com/wheresrhys/fetch-mock", "dependencies": { "node-fetch": "^1.3.3", "debug": "^2.2.0" }, "devDependencies": { "babel": "^6.0.15", "babel-cli": "^6.1.2", "babel-preset-es2015": "^6.1.2", "babelify": "^7.2.0", "browserify": "^12.0.0", "chai": "^2.3.0", "karma": "^0.12.31", "karma-browserify": "^4.1.2", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^0.1.8", "karma-firefox-launcher": "^0.1.6", "karma-mocha": "^0.1.10", "karma-phantomjs-launcher": "^0.2.1", "mocha": "^2.2.4", "sinon": "^1.17.0", "whatwg-fetch": "^0.10.1" } }