UNPKG

@kubb/cli

Version:

Command-line interface for Kubb, enabling easy generation of TypeScript, React-Query, Zod, and other code from OpenAPI specifications.

93 lines 2.36 kB
{ "name": "@kubb/cli", "version": "3.16.1", "description": "Command-line interface for Kubb, enabling easy generation of TypeScript, React-Query, Zod, and other code from OpenAPI specifications.", "keywords": [ "cli", "command-line", "typescript", "openapi", "swagger", "code-generator", "codegen", "plugins", "kubb" ], "repository": { "type": "git", "url": "https://github.com/kubb-labs/kubb.git", "directory": "packages/cli" }, "license": "MIT", "author": "stijnvanhulle", "sideEffects": false, "type": "module", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs", "default": "./dist/index.cjs" } }, "main": "dist/index.cjs", "module": "dist/index.js", "types": "./dist/index.d.ts", "bin": { "kubb": "bin/kubb.cjs" }, "files": [ "src", "dist", "bin", "!/**/**.test.**", "!/**/__tests__/**" ], "dependencies": { "chokidar": "^4.0.3", "citty": "^0.1.6", "cli-progress": "^3.12.0", "consola": "^3.4.2", "cosmiconfig": "^9.0.0", "execa": "^9.6.0", "gradient-string": "^3.0.0", "jiti": "^2.4.2", "latest-version": "^9.0.0", "open": "^10.2.0", "semver": "^7.7.2", "string-argv": "^0.3.2", "@kubb/core": "3.16.1", "@kubb/ui": "3.16.1" }, "devDependencies": { "@types/cli-progress": "^3.11.6", "@types/node": "^20.19.8", "@types/semver": "^7.7.0", "source-map-support": "^0.5.21", "tsup": "^8.5.0", "typescript": "^5.8.3", "@kubb/config-ts": "3.16.1", "@kubb/config-tsup": "3.16.1", "@kubb/mcp": "3.16.1", "@kubb/oas": "3.16.1", "@kubb/plugin-oas": "3.16.1" }, "engines": { "node": ">=20" }, "preferGlobal": true, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "build": "tsup", "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": "tsup --watch", "test": "vitest --passWithNoTests", "typecheck": "tsc -p ./tsconfig.json --noEmit --emitDeclarationOnly false" } }