UNPKG

@hey-api/openapi-ts

Version:

🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.

119 lines • 2.76 kB
{ "name": "@hey-api/openapi-ts", "version": "0.73.0", "description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.", "homepage": "https://heyapi.dev/", "repository": { "type": "git", "url": "git+https://github.com/hey-api/openapi-ts.git" }, "bugs": { "url": "https://github.com/hey-api/openapi-ts/issues" }, "license": "MIT", "author": { "email": "lubos@heyapi.dev", "name": "Hey API", "url": "https://heyapi.dev" }, "funding": "https://github.com/sponsors/hey-api", "keywords": [ "angular", "axios", "codegen", "fetch", "generator", "http", "javascript", "json", "next", "next.js", "node", "nuxt", "openapi", "rest", "swagger", "typescript", "xhr", "yaml" ], "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./internal": { "import": { "types": "./dist/internal.d.ts", "default": "./dist/internal.js" }, "require": { "types": "./dist/internal.d.cts", "default": "./dist/internal.cjs" } }, "./package.json": "./package.json" }, "bin": { "openapi-ts": "bin/index.cjs" }, "files": [ "bin", "dist", "LICENSE.md" ], "engines": { "node": "^18.18.0 || ^20.9.0 || >=22.10.0" }, "dependencies": { "@hey-api/json-schema-ref-parser": "1.0.6", "ansi-colors": "4.1.3", "c12": "2.0.1", "color-support": "1.1.3", "commander": "13.0.0", "handlebars": "4.7.8", "open": "10.1.2" }, "peerDependencies": { "typescript": "^5.5.3" }, "devDependencies": { "@types/cross-spawn": "6.0.6", "@types/express": "4.17.21", "axios": "1.8.2", "cross-spawn": "7.0.5", "eslint": "9.17.0", "express": "4.21.0", "glob": "10.4.3", "node-fetch": "3.3.2", "nuxt": "3.14.1592", "prettier": "3.4.2", "ts-node": "10.9.2", "tslib": "2.8.1", "typescript": "5.8.3", "vue": "3.5.13", "yaml": "2.8.0", "@config/vite-base": "0.0.1" }, "scripts": { "build": "tsup && pnpm check-exports", "check-exports": "attw --pack . --profile node16", "dev": "tsup --watch", "handlebars": "node src/legacy/handlebars/handlebars.cjs", "test:coverage": "vitest run --coverage", "test:update": "vitest watch --update", "test:watch": "vitest watch", "test": "vitest run", "typecheck": "tsc --noEmit" } }