UNPKG

openapi-hooks

Version:

Magical fetch inference for OpenAPI with React Query support

45 lines 1.21 kB
{ "name": "openapi-hooks", "version": "0.1.1", "description": "Magical fetch inference for OpenAPI with React Query support", "main": "./dist/index.js", "type": "module", "repository": { "type": "git", "url": "https://github.com/v3xlabs/openapi-hooks.git" }, "files": [ "dist", "package.json" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "keywords": [ "openapi", "openapi-typescript", "typescript", "react", "react-query", "@tanstack/react-query" ], "author": "V3X Labs", "license": "GPL-3.0-only", "devDependencies": { "openapi-typescript": "^7.5.1", "tsup": "^8.3.5", "tsx": "^4.19.2", "typescript": "^5.7.2", "vitest": "^3.2.4" }, "scripts": { "build": "tsup src/index.ts", "dev": "tsup --watch src/index.ts", "test": "vitest --typecheck", "test:schema:scalar-galaxy": "openapi-typescript https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/3.1.yaml -t -o ./test/schemas/scalar-galaxy.gen.ts", "test:schema:ethereum-forum": "openapi-typescript https://ethereum.forum/openapi.json -t -o ./test/schemas/ethereum-forum.gen.ts" } }