UNPKG

rapini

Version:

Generate React Query hooks, SWR hooks, Axios requests and Typescript types from OpenAPI files

53 lines (52 loc) 1.3 kB
{ "name": "rapini", "version": "3.5.3", "description": "Generate React Query hooks, SWR hooks, Axios requests and Typescript types from OpenAPI files", "bin": "dist/cli.js", "scripts": { "build": "tsc --project tsconfig.json", "start": "chmod +x dist/cli.js && dist/cli.js react-query v5 --path example-openapi.yaml", "dev": "npm run build && npm run start", "test": "jest", "test:watch": "jest --watch", "deploy": "npm run build && npm publish" }, "author": "Jason Rametta", "license": "Apache-2.0", "dependencies": { "@apidevtools/swagger-parser": "^10.1.0", "axios": "^1.5.1", "commander": "^11.1.0", "typescript": "^5.2.2" }, "devDependencies": { "@types/jest": "^29.5.5", "@types/node": "^20.8.6", "jest": "^29.7.0", "openapi-types": "^12.1.3", "ts-jest": "^29.1.1" }, "repository": "https://github.com/rametta/rapini.git", "bugs": { "url": "https://github.com/rametta/rapini/issues" }, "homepage": "https://github.com/rametta/rapini", "keywords": [ "codegen", "react-query", "tanstack", "swr", "stale-while-revalidate", "react", "query", "axios", "openapi", "swagger", "open", "api", "code", "generation", "typescript", "types" ] }