UNPKG

@kubb/oas

Version:

OpenAPI Specification (OAS) utilities and helpers for Kubb, providing parsing, normalization, and manipulation of OpenAPI/Swagger schemas.

92 lines 2.34 kB
{ "name": "@kubb/oas", "version": "3.16.2", "description": "OpenAPI Specification (OAS) utilities and helpers for Kubb, providing parsing, normalization, and manipulation of OpenAPI/Swagger schemas.", "keywords": [ "openapi", "swagger", "oas", "api-specification", "schema", "typescript", "codegen", "kubb" ], "repository": { "type": "git", "url": "https://github.com/kubb-labs/kubb.git", "directory": "packages/oas" }, "license": "MIT", "author": "stijnvanhulle", "sideEffects": false, "type": "module", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs", "default": "./dist/index.cjs" }, "./infer": { "import": "./dist/infer.js", "require": "./dist/infer.cjs", "default": "./dist/infer.cjs" }, "./package.json": "./package.json", "./*": "./*" }, "main": "dist/index.cjs", "module": "dist/index.js", "types": "./dist/index.d.cts", "typesVersions": { "*": { "infer": [ "./dist/infer.d.ts" ] } }, "files": [ "src", "dist", "!/**/**.test.**", "!/**/__tests__/**" ], "dependencies": { "@redocly/openapi-core": "^1.34.5", "hotscript": "^1.0.13", "json-schema-to-ts": "^3.1.1", "jsonpointer": "^5.0.1", "oas": "^27.2.1", "oas-normalize": "^14.1.2", "openapi-types": "^12.1.3", "remeda": "^2.30.0", "swagger2openapi": "^7.0.8", "ts-toolbelt": "^9.6.0" }, "devDependencies": { "@stoplight/yaml": "^4.3.0", "@types/swagger2openapi": "^7.0.4", "tsup": "^8.5.0", "typescript": "^5.9.2", "@kubb/config-ts": "3.16.2", "@kubb/config-tsup": "3.16.2" }, "engines": { "node": ">=20" }, "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" } }