Fix indention
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
parent
c167190c6e
commit
bb9c96de80
262
package.json
262
package.json
|
@ -1,133 +1,133 @@
|
||||||
{
|
{
|
||||||
"name": "node-fetch",
|
"name": "node-fetch",
|
||||||
"version": "3.0.0-beta.4",
|
"version": "3.0.0-beta.4",
|
||||||
"description": "A light-weight module that brings window.fetch to node.js",
|
"description": "A light-weight module that brings window.fetch to node.js",
|
||||||
"main": "./dist/dist-src",
|
"main": "./dist/dist-src",
|
||||||
"files": [
|
"files": [
|
||||||
"src",
|
"src",
|
||||||
"dist",
|
"dist",
|
||||||
"*.d.ts"
|
"*.d.ts"
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.0.0"
|
"node": ">=10.0.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pika build --out dist/",
|
"build": "pika build --out dist/",
|
||||||
"prepublishOnly": "npm run build",
|
"prepublishOnly": "npm run build",
|
||||||
"test": "cross-env BABEL_ENV=test mocha --require @babel/register --throw-deprecation test/*.js",
|
"test": "cross-env BABEL_ENV=test mocha --require @babel/register --throw-deprecation test/*.js",
|
||||||
"report": "cross-env BABEL_ENV=coverage nyc --reporter lcov --reporter text mocha -R spec test/*.js",
|
"report": "cross-env BABEL_ENV=coverage nyc --reporter lcov --reporter text mocha -R spec test/*.js",
|
||||||
"coverage": "cross-env BABEL_ENV=coverage nyc --reporter json --reporter text mocha -R spec test/*.js && codecov -f coverage/coverage-final.json",
|
"coverage": "cross-env BABEL_ENV=coverage nyc --reporter json --reporter text mocha -R spec test/*.js && codecov -f coverage/coverage-final.json",
|
||||||
"lint": "xo"
|
"lint": "xo"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/node-fetch/node-fetch.git"
|
"url": "https://github.com/node-fetch/node-fetch.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"fetch",
|
"fetch",
|
||||||
"http",
|
"http",
|
||||||
"promise"
|
"promise"
|
||||||
],
|
],
|
||||||
"author": "David Frank",
|
"author": "David Frank",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/node-fetch/node-fetch/issues"
|
"url": "https://github.com/node-fetch/node-fetch/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/node-fetch/node-fetch",
|
"homepage": "https://github.com/node-fetch/node-fetch",
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
"url": "https://opencollective.com/node-fetch"
|
"url": "https://opencollective.com/node-fetch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.9.0",
|
"@babel/core": "^7.9.0",
|
||||||
"@babel/preset-env": "^7.9.0",
|
"@babel/preset-env": "^7.9.0",
|
||||||
"@babel/register": "^7.9.0",
|
"@babel/register": "^7.9.0",
|
||||||
"@pika/pack": "^0.5.0",
|
"@pika/pack": "^0.5.0",
|
||||||
"@pika/plugin-standard-pkg": "^0.9.2",
|
"@pika/plugin-standard-pkg": "^0.9.2",
|
||||||
"abort-controller": "^3.0.0",
|
"abort-controller": "^3.0.0",
|
||||||
"abortcontroller-polyfill": "^1.4.0",
|
"abortcontroller-polyfill": "^1.4.0",
|
||||||
"chai": "^4.2.0",
|
"chai": "^4.2.0",
|
||||||
"chai-as-promised": "^7.1.1",
|
"chai-as-promised": "^7.1.1",
|
||||||
"chai-iterator": "^3.0.2",
|
"chai-iterator": "^3.0.2",
|
||||||
"chai-string": "^1.5.0",
|
"chai-string": "^1.5.0",
|
||||||
"codecov": "^3.6.5",
|
"codecov": "^3.6.5",
|
||||||
"cross-env": "^7.0.2",
|
"cross-env": "^7.0.2",
|
||||||
"form-data": "^3.0.0",
|
"form-data": "^3.0.0",
|
||||||
"mocha": "^7.1.1",
|
"mocha": "^7.1.1",
|
||||||
"nyc": "^15.0.0",
|
"nyc": "^15.0.0",
|
||||||
"parted": "^0.1.1",
|
"parted": "^0.1.1",
|
||||||
"promise": "^8.1.0",
|
"promise": "^8.1.0",
|
||||||
"resumer": "0.0.0",
|
"resumer": "0.0.0",
|
||||||
"string-to-arraybuffer": "^1.0.2",
|
"string-to-arraybuffer": "^1.0.2",
|
||||||
"xo": "^0.28.1"
|
"xo": "^0.28.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"data-uri-to-buffer": "^3.0.0",
|
"data-uri-to-buffer": "^3.0.0",
|
||||||
"fetch-blob": "^1.0.5"
|
"fetch-blob": "^1.0.5"
|
||||||
},
|
},
|
||||||
"@pika/pack": {
|
"@pika/pack": {
|
||||||
"pipeline": [
|
"pipeline": [
|
||||||
[
|
[
|
||||||
"@pika/plugin-standard-pkg"
|
"@pika/plugin-standard-pkg"
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"xo": {
|
"xo": {
|
||||||
"envs": [
|
"envs": [
|
||||||
"node",
|
"node",
|
||||||
"browser"
|
"browser"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"complexity": 0,
|
"complexity": 0,
|
||||||
"promise/prefer-await-to-then": 0,
|
"promise/prefer-await-to-then": 0,
|
||||||
"no-mixed-operators": 0,
|
"no-mixed-operators": 0,
|
||||||
"no-negated-condition": 0,
|
"no-negated-condition": 0,
|
||||||
"unicorn/prevent-abbreviations": 0
|
"unicorn/prevent-abbreviations": 0
|
||||||
},
|
},
|
||||||
"ignores": [
|
"ignores": [
|
||||||
"dist",
|
"dist",
|
||||||
"index.d.ts"
|
"index.d.ts"
|
||||||
],
|
],
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
"files": "test/**/*.js",
|
"files": "test/**/*.js",
|
||||||
"envs": [
|
"envs": [
|
||||||
"node",
|
"node",
|
||||||
"mocha"
|
"mocha"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"max-nested-callbacks": 0,
|
"max-nested-callbacks": 0,
|
||||||
"no-unused-expressions": 0,
|
"no-unused-expressions": 0,
|
||||||
"new-cap": 0,
|
"new-cap": 0,
|
||||||
"guard-for-in": 0
|
"guard-for-in": 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"files": "example.js",
|
"files": "example.js",
|
||||||
"rules": {
|
"rules": {
|
||||||
"import/no-extraneous-dependencies": 0
|
"import/no-extraneous-dependencies": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
"presets": [
|
"presets": [
|
||||||
[
|
[
|
||||||
"@babel/preset-env",
|
"@babel/preset-env",
|
||||||
{
|
{
|
||||||
"targets": {
|
"targets": {
|
||||||
"node": true
|
"node": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"nyc": {
|
"nyc": {
|
||||||
"require": [
|
"require": [
|
||||||
"@babel/register"
|
"@babel/register"
|
||||||
],
|
],
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
"instrument": false
|
"instrument": false
|
||||||
},
|
},
|
||||||
"runkitExampleFilename": "example.js"
|
"runkitExampleFilename": "example.js"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue