UNPKG

react-query-swagger

Version:

Generates react-query hooks for your API based on Swagger/OpenAPI definition

55 lines (54 loc) 1.35 kB
{ "name": "react-query-swagger", "version": "15.12.8", "description": "Generates react-query hooks for your API based on Swagger/OpenAPI definition", "author": "Artur Drobinskiy", "license": "MIT", "homepage": "https://github.com/shaddix/react-query-swagger#readme", "repository": { "type": "git", "url": "git://github.com/shaddix/react-query-swagger.git" }, "main": "dist/index.js", "typings": "dist/index.d.ts", "types": "dist/index.d.ts", "keywords": [ "react-query", "swagger", "openapi", "typescript", "nswag", "react" ], "scripts": { "prepublish": "copyfiles -u 1 ../README.md ./ && tsdx build" }, "bin": "cli.js", "devDependencies": { "child_process": "1.0.2", "copyfiles": "2.4.1", "eslint": "8.37.0", "tsdx": "0.14.1" }, "peerDependencies": { "@tanstack/react-query": "> 4.0", "@tanstack/react-query-persist-client": ">4.2.0", "react": "17.x || 18.x || 19.x", "typescript": "> 3.0" }, "files": [ "templates/**/*", "templates_v3/**/*", "templates_no_hooks/**/*", "templates_vue/**/*", "templates_minimal_vue/**/*", "templates_minimal/**/*", "templates_minimal_no_hooks/**/*", "templates_minimal_angular/**/*", "dist", "cli.js" ], "dependencies": { "nswag-portable": "13.20.0-v.17" } }