blob: 913a0d00c79e45d3b19990b134afbf9bd160dd79 [file] [log] [blame]
{
"name": "cross-fetch",
"version": "2.2.2",
"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",
"typings": "index.d.ts",
"scripts": {
"pretest:node:bundle": "webpack-cli --config test/webpack-node/webpack.config.js",
"precommit": "npm run -s build && lint-staged",
"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 .",
"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:bundle": "nyc mocha test/webpack-node/bundle.js",
"test:node": "nyc mocha test/node/index.js"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"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.1.2",
"whatwg-fetch": "2.0.4"
},
"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"
],
"keywords": [
"fetch",
"isomorphic",
"universal",
"node",
"react",
"native",
"browser",
"ponyfill",
"whatwg",
"xhr",
"ajax"
]
}