@bytekit/autofetch
Version:
A TypeScript-first, decorator-based HTTP client for building elegant and modular API clients with fetch under the hood. Inspired by Spring's `@RestClient` and OpenFeign.
62 lines (61 loc) • 1.67 kB
JSON
{
"name": "@bytekit/autofetch",
"version": "1.0.7",
"repository": {
"type": "git",
"url": "https://github.com/neoscrib/bytekit-autofetch.git"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"type": "module",
"types": "./index.d.ts",
"files": [
"index.d.ts",
"dist"
],
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"keywords": [
"fetch",
"feign",
"openfeign"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "vitest run --coverage",
"clean": "rm -rf ./dist/*",
"build:esm": "tsc --project tsconfig.esm.json",
"build:cjs": "tsc --project tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
"build": "yarn clean && yarn build:esm && yarn build:cjs"
},
"author": "Tanner Jepsen <neoscrib@gmail.com>",
"license": "ISC",
"description": "",
"devDependencies": {
"@playwright/test": "^1.49.1",
"@stryker-mutator/core": "^8.7.1",
"@stryker-mutator/typescript-checker": "^8.7.1",
"@stryker-mutator/vitest-runner": "^8.7.1",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.10.5",
"@typescript-eslint/eslint-plugin": ">=1.8.0",
"@typescript-eslint/parser": ">=1.8.0",
"@vitest/coverage-v8": "^3.0.8",
"eslint": ">=6.0.0",
"eslint-config-prettier": "^10.1.1",
"eslint-config-typescript": "^3.0.0",
"eslint-plugin-prettier": "^5.2.6",
"prettier": "^3.5.3",
"typescript": "*",
"typescript-eslint": "^8.29.0",
"vite": "^6.2.2",
"vitest": "^3.0.8"
},
"dependencies": {
"reflect-metadata": "^0.2.2"
}
}