You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.3 KiB
58 lines
1.3 KiB
{
|
|
"name": "fetch-compare",
|
|
"version": "0.1.0",
|
|
"description": "Compare various implementations of the WHATWG fetch API",
|
|
"author": "Ambrose Chua",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "node --loader ts-node/esm --no-warnings src/index.ts",
|
|
"type-check": "tsc --pretty --noEmit",
|
|
"format": "prettier --ignore-path ../.gitignore --write .",
|
|
"lint": "xo"
|
|
},
|
|
"dependencies": {
|
|
"@swc/core": "^1.2.140",
|
|
"@wdio/logger": "^7.16.0",
|
|
"chromedriver": "^98.0.1",
|
|
"cli-table3": "^0.6.1",
|
|
"geckodriver": "^3.2.0",
|
|
"get-port": "^6.0.0",
|
|
"koa": "^2.13.4",
|
|
"koa-files": "^2.0.0",
|
|
"node-fetch": "^3.2.10",
|
|
"tcp-port-used": "^1.0.2",
|
|
"ts-node": "^10.5.0",
|
|
"webdriver": "^7.16.14"
|
|
},
|
|
"devDependencies": {
|
|
"@types/koa": "^2.13.4",
|
|
"@types/node": "^17.0.18",
|
|
"node-abort-controller": "^3.0.1",
|
|
"prettier": "^2.5.1",
|
|
"typescript": "^4.6.1-rc",
|
|
"xo": "^0.48.0"
|
|
},
|
|
"prettier": {
|
|
"semi": true,
|
|
"useTabs": true,
|
|
"trailingComma": "all",
|
|
"singleQuote": true,
|
|
"bracketSpacing": false,
|
|
"jsxBracketSameLine": false
|
|
},
|
|
"xo": {
|
|
"prettier": true,
|
|
"rules": {
|
|
"unicorn/prefer-node-protocol": "off",
|
|
"@typescript-eslint/naming-convention": "off"
|
|
},
|
|
"globals": [
|
|
"Deno",
|
|
"Request",
|
|
"Response",
|
|
"Headers",
|
|
"fetch"
|
|
]
|
|
}
|
|
}
|