@bitty/create-request
Version:
Apply interceptors in `fetch` to create a custom request functions.
68 lines • 1.84 kB
JSON
{
"name": "@bitty/create-request",
"version": "1.3.0",
"sideEffects": false,
"description": "Apply interceptors in `fetch` to create a custom request functions.",
"cdn": "./dist/index.umd.min.js",
"main": "./dist/index.js",
"types": "./types/index.d.ts",
"unpkg": "./dist/index.umd.min.js",
"module": "./dist/index.esm.js",
"jsdelivr": "./dist/index.umd.min.js",
"umd:main": "./dist/index.umd.js",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist/",
"types/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/VitorLuizC/create-request.git"
},
"author": {
"url": "https://vitorluizc.github.io/",
"name": "Vitor Luiz Cavalcanti",
"email": "vitorluizc@outlook.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/VitorLuizC/create-request/issues"
},
"keywords": [
"fetch",
"interceptors",
"typescript",
"javascript",
"bili",
"fetch-api",
"request",
"intercept-fetch",
"http-client",
"https-client",
"whatwg-fetch",
"promise",
"request-promise",
"async"
],
"homepage": "https://github.com/VitorLuizC/create-request#readme",
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"prettier": "^2.5.1",
"rollup": "^2.63.0",
"typescript": "^4.5.4"
},
"scripts": {
"lint": "prettier --check \"./{src,examples}/**/*.ts\"",
"lint:fix": "prettier --write \"./{src,examples}/**/*.ts\"",
"test": "pnpm run lint && echo \"Error: no test specified\" && exit 1",
"build": "pnpm run build:transpile && pnpm run build:bundle",
"build:transpile": "tsc --project ./tsconfig.build.json",
"build:bundle": "rollup --config rollup.config.js"
}
}