UNPKG

api-registry

Version:

Centralized HTTP API client for the browser and Node.js based on Fetch API

87 lines (86 loc) 2.36 kB
{ "name": "api-registry", "version": "2.0.0", "description": "Centralized HTTP API client for the browser and Node.js based on Fetch API", "main": "index.js", "types": "index.d.js", "type": "module", "exports": { ".": { "import": "./index.js", "require": "./index.cjs", "types": "./index.d.ts" } }, "scripts": { "bundle": "rollup -c rollup.config.js", "build": "rimraf lib && rimraf build && tsc && tsc && npm run bundle", "lint": "eslint .", "prettier": "prettier --write .", "prettier:check": "prettier --check .", "jest": "cross-env NODE_OPTIONS=--experimental-vm-modules jest", "pretest": "npm run lint && npm run prettier:check", "test": "npm run jest", "prepublishOnly": "npm test", "prepare": "npm run build && shx ln -f lib/index.js index.js && shx ln -f lib/index.d.ts index.d.ts && shx ln -f lib/index.cjs index.cjs", "postpack": "shx rm index.js && shx rm index.d.ts && shx rm index.cjs", "preversion": "npm test" }, "files": [ "index.js", "index.d.ts", "index.cjs" ], "repository": { "type": "git", "url": "github:teil-one/api-registry" }, "keywords": [ "api", "http", "fetch", "request", "cache", "centralized", "node", "Fetch API", "Cache API" ], "author": "Sergei Koshel", "license": "Apache-2.0", "bugs": { "url": "https://github.com/teil-one/api-registry/issues" }, "homepage": "https://github.com/teil-one/api-registry#readme", "devDependencies": { "@rollup/plugin-terser": "^0.4.4", "@types/jest": "^29.2.3", "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", "cross-env": "^7.0.3", "eslint": "^8.29.0", "eslint-config-prettier": "^8.5.0", "eslint-config-standard-with-typescript": "^23.0.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-n": "^15.5.1", "eslint-plugin-promise": "^6.1.1", "fetch-api-progress": "^0.2.0", "jest": "^29.3.1", "prettier": "2.8.0", "rimraf": "^5.0.5", "rollup": "^4.7.0", "rollup-plugin-dts": "^6.1.0", "shx": "^0.3.4", "ts-jest": "^29.0.3", "typescript": "^4.9.3" }, "volta": { "node": "22.15.0" }, "engines": { "node": ">=18.0.0" }, "dependencies": { "rfc6570-uri-template": "^1.1.0" } }