{ "_args": [ [ "cross-fetch@2.2.2", "." ] ], "_development": true, "_from": "cross-fetch@2.2.2", "_id": "cross-fetch@2.2.2", "_inBundle": false, "_integrity": "sha1-pH/09/xxLauo9qaVoRyUhEDUVyM=", "_location": "/cross-fetch", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "cross-fetch@2.2.2", "name": "cross-fetch", "escapedName": "cross-fetch", "rawSpec": "2.2.2", "saveSpec": null, "fetchSpec": "2.2.2" }, "_requiredBy": [ "/graphql-request" ], "_resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-2.2.2.tgz", "_spec": "2.2.2", "_where": ".", "author": { "name": "Leonardo Quixada", "email": "lquixada@gmail.com" }, "browser": "dist/browser-ponyfill.js", "bugs": { "url": "https://github.com/lquixada/cross-fetch/issues" }, "dependencies": { "node-fetch": "2.1.2", "whatwg-fetch": "2.0.4" }, "description": "Universal WHATWG Fetch API for Node, Browsers and React Native", "devDependencies": { "chai": "4.1.2", "codecov": "3.0.2", "eslint": "4.19.1", "husky": "0.14.3", "lint-staged": "7.2.0", "mocha": "5.2.0", "mocha-headless-chrome": "2.0.0", "nock": "9.3.3", "nyc": "12.0.2", "opn-cli": "3.1.0", "ora": "2.1.0", "rollup": "0.60.7", "rollup-plugin-copy": "0.2.3", "rollup-plugin-uglify": "4.0.0", "sinon": "6.0.0", "snyk": "1.83.0", "webpack": "4.12.0", "webpack-cli": "3.0.7" }, "files": [ "dist", "polyfill", "index.d.ts" ], "homepage": "https://github.com/lquixada/cross-fetch", "keywords": [ "fetch", "isomorphic", "universal", "node", "react", "native", "browser", "ponyfill", "whatwg", "xhr", "ajax" ], "license": "MIT", "lint-staged": { "*.js": [ "eslint --fix", "git add" ] }, "main": "dist/node-ponyfill.js", "name": "cross-fetch", "repository": { "type": "git", "url": "git+https://github.com/lquixada/cross-fetch.git" }, "scripts": { "build": "rollup -c", "codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "deploy:major": "npm version major && git push --follow-tags", "deploy:minor": "npm version minor && git push --follow-tags", "deploy:patch": "npm version patch && git push --follow-tags", "lint": "eslint .", "precommit": "npm run -s build && lint-staged", "pretest:node:bundle": "webpack-cli --config test/webpack-node/webpack.config.js", "sauce": "./tasks/sauce", "security": "snyk test", "test": "npm run -s test:headless && npm run -s test:node && npm run -s test:node:bundle && npm run -s lint", "test:browser": "opn test/browser/index.html", "test:headless": "mocha-headless-chrome -f test/browser/index.html -a no-sandbox -a disable-setuid-sandbox", "test:node": "nyc mocha test/node/index.js", "test:node:bundle": "nyc mocha test/webpack-node/bundle.js" }, "typings": "index.d.ts", "version": "2.2.2" }