cross-fetch
Version:
Universal WHATWG Fetch API for Node, Browsers and React Native
103 lines (102 loc) • 2.04 kB
JSON
{
"name": "cross-fetch",
"version": "3.0.5",
"description": "Universal WHATWG Fetch API for Node, Browsers and React Native",
"homepage": "https://github.com/lquixada/cross-fetch",
"main": "dist/node-ponyfill.js",
"browser": "dist/browser-ponyfill.js",
"react-native": "dist/react-native-ponyfill.js",
"typings": "index.d.ts",
"lint-staged": {
"*.js": [
"standard --fix"
]
},
"husky": {
"hooks": {
"pre-commit": "make build && make check-dependencies && lint-staged"
}
},
"standard": {
"env": [
"mocha",
"browser"
],
"globals": [
"expect",
"assert",
"chai",
"sinon"
],
"ignore": [
"/dist/",
"bundle.js",
"bundle.*.js"
]
},
"mocha": {
"require": [
"chai/register-expect",
"chai/register-assert"
],
"check-leaks": true
},
"nyc": {
"temp-dir": ".reports/.coverage"
},
"repository": {
"type": "git",
"url": "https://github.com/lquixada/cross-fetch.git"
},
"author": "Leonardo Quixada <lquixada@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/lquixada/cross-fetch/issues"
},
"dependencies": {
"node-fetch": "2.6.0"
},
"devDependencies": {
"chai": "4.2.0",
"codecov": "3.7.0",
"husky": "4.2.5",
"lint-staged": "10.2.10",
"mocha": "8.0.1",
"mocha-headless-chrome": "2.0.1",
"nock": "12.0.3",
"nyc": "15.1.0",
"ora": "4.0.4",
"rollup": "2.16.1",
"rollup-plugin-copy": "3.3.0",
"rollup-plugin-uglify": "6.0.4",
"semver": "7.3.2",
"sinon": "9.0.2",
"standard": "14.3.4",
"webpack": "4.43.0",
"webpack-cli": "3.3.11",
"whatwg-fetch": "3.0.0"
},
"files": [
"dist",
"polyfill",
"index.d.ts"
],
"keywords": [
"fetch",
"http",
"url",
"promise",
"async",
"await",
"isomorphic",
"universal",
"node",
"react",
"native",
"browser",
"ponyfill",
"whatwg",
"xhr",
"ajax"
]
}