UNPKG

fetch-mock

Version:

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

66 lines (65 loc) 1.56 kB
{ "name": "fetch-mock", "version": "4.6.0", "description": "Mock http requests made using fetch (or isomorphic-fetch)", "main": "src/server.js", "browser": "es5/client.js", "scripts": { "test": "make test", "browserify": "browserify -s fetchMock src/client.js > es5/client-browserified.js", "prepublish": "babel src --out-dir es5 --presets es2015 && npm run browserify" }, "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", "protips": "^1.1.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", "eslint": "^1.10.3", "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", "mockery": "^1.4.0", "sinon": "^1.17.0", "whatwg-fetch": "^0.10.1" }, "browserify": { "transform": [ [ "babelify", { "presets": [ "es2015" ] } ] ] } }