UNPKG

openapi-react-query

Version:

Fast, type-safe @tanstack/react-query client to work with your OpenAPI schema.

74 lines 2.02 kB
{ "name": "openapi-react-query", "description": "Fast, type-safe @tanstack/react-query client to work with your OpenAPI schema.", "version": "0.5.4", "author": { "name": "Martin Paucot", "email": "contact@martin-paucot.fr" }, "license": "MIT", "type": "module", "main": "./dist/index.mjs", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.cjs", "default": "./dist/index.mjs" }, "./*": "./*" }, "homepage": "https://openapi-ts.dev", "repository": { "type": "git", "url": "https://github.com/openapi-ts/openapi-typescript", "directory": "packages/openapi-react-query" }, "bugs": { "url": "https://github.com/openapi-ts/openapi-typescript/issues" }, "keywords": [ "openapi", "swagger", "rest", "api", "oapi_3", "oapi_3_1", "typescript", "fetch", "react", "react-query", "tanstack" ], "dependencies": { "openapi-typescript-helpers": "^0.1.0" }, "devDependencies": { "@tanstack/react-query": "5.90.3", "@testing-library/react": "16.3.2", "@types/react": "18.3.21", "@vitejs/plugin-react": "5.0.4", "execa": "^9.6.1", "msw": "2.12.9", "react": "18.3.1", "react-error-boundary": "6.0.0", "openapi-fetch": "^0.17.0", "openapi-typescript": "^7.13.0" }, "peerDependencies": { "@tanstack/react-query": "^5.80.0", "openapi-fetch": "^0.17.0" }, "scripts": { "build": "unbuild", "dev": "tsc -p tsconfig.build.json --watch", "format": "biome format . --write", "lint": "pnpm run lint:js && pnpm run lint:ts", "lint:js": "biome check .", "lint:ts": "tsc --noEmit", "generate-types": "openapi-typescript test/fixtures/api.yaml -o test/fixtures/api.d.ts", "test": "pnpm run generate-types && pnpm run test:js && pnpm run test:exports", "test:js": "vitest run", "test:exports": "pnpm run build && attw --pack .", "version": "pnpm run prepare && pnpm run build" } }