UNPKG

@kubb/plugin-ts

Version:

TypeScript code generation plugin for Kubb, transforming OpenAPI schemas into TypeScript interfaces, types, and utility functions.

98 lines 2.41 kB
{ "name": "@kubb/plugin-ts", "version": "4.17.1", "description": "TypeScript code generation plugin for Kubb, transforming OpenAPI schemas into TypeScript interfaces, types, and utility functions.", "keywords": [ "typescript", "types", "interfaces", "openapi", "swagger", "code-generator", "codegen", "plugins", "kubb" ], "repository": { "type": "git", "url": "https://github.com/kubb-labs/kubb.git", "directory": "packages/plugin-ts" }, "license": "MIT", "author": "stijnvanhulle", "sideEffects": false, "type": "module", "exports": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.js" }, "./components": { "require": "./dist/components.cjs", "import": "./dist/components.js" }, "./generators": { "require": "./dist/generators.cjs", "import": "./dist/generators.js" }, "./package.json": "./package.json" }, "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.cts", "typesVersions": { "*": { "components": [ "./dist/components.d.ts" ], "generators": [ "./dist/generators.d.ts" ] } }, "files": [ "src", "dist", "!/**/**.test.**", "!/**/__tests__/**" ], "size-limit": [ { "path": "./dist/*.js", "limit": "510 KiB", "gzip": true } ], "dependencies": { "@kubb/fabric-core": "0.11.3", "@kubb/react-fabric": "0.11.3", "natural-orderby": "^5.0.0", "remeda": "^2.33.4", "typescript": "5.9.3", "@kubb/core": "4.17.1", "@kubb/oas": "4.17.1", "@kubb/plugin-oas": "4.17.1" }, "peerDependencies": { "@kubb/react-fabric": "0.11.3", "typescript": ">=5.9.0" }, "engines": { "node": ">=20" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "build": "tsdown && size-limit", "clean": "npx rimraf ./dist", "lint": "bun biome lint .", "lint:fix": "bun biome lint --fix --unsafe .", "release": "pnpm publish --no-git-check", "release:canary": "bash ../../.github/canary.sh && node ../../scripts/build.js canary && pnpm publish --no-git-check", "start": "tsdown --watch", "test": "vitest --passWithNoTests", "typecheck": "tsc -p ./tsconfig.json --noEmit --emitDeclarationOnly false" } }