UNPKG

api-morph

Version:

A TypeScript-first OpenAPI document generator that analyzes your code and generates comprehensive OpenAPI documentation.

91 lines 2.5 kB
{ "name": "api-morph", "type": "module", "version": "0.2.1", "description": "A TypeScript-first OpenAPI document generator that analyzes your code and generates comprehensive OpenAPI documentation.", "author": "Yingzhi Ji <jiyingzhi0808@gmail.com>", "license": "MIT", "homepage": "https://github.com/yingzhi0808/api-morph", "repository": { "type": "git", "url": "git+https://github.com/yingzhi0808/api-morph.git" }, "bugs": { "url": "https://github.com/yingzhi0808/api-morph/issues" }, "keywords": [ "openapi", "swagger", "openapi-generator", "swagger-generator", "express-openapi", "express-swagger", "zod-openapi", "zod-swagger" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.js" } }, "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "LICENSE", "README.md", "dist" ], "engines": { "node": ">=18.19.0" }, "publishConfig": { "access": "public" }, "dependencies": { "@hyperjump/json-schema": "^1.15.1", "deepmerge": "^4.3.1", "mime-types": "^3.0.1", "radashi": "^12.5.1", "swagger-ui-dist": "^5.24.1", "ts-morph": "^26.0.0", "typescript": "^5.8.3", "yaml": "^2.8.0", "zod": "^3.25.64" }, "devDependencies": { "@biomejs/biome": "2.0.0-beta.6", "@oxc-node/core": "^0.0.28", "@types/mime-types": "^3.0.1", "@types/node": "^24.0.1", "@vitest/coverage-v8": "^3.2.3", "lefthook": "^1.11.13", "npm-run-all2": "^8.0.4", "tsdown": "^0.12.7", "vite-tsconfig-paths": "^5.1.4", "vitepress": "2.0.0-alpha.5", "vitest": "^3.2.3", "vue": "^3.5.16" }, "peerDependencies": { "@types/express": "^5.0.0", "express": "^5.0.0" }, "scripts": { "start": "node --watch --enable-source-maps --import @oxc-node/core/register", "build": "tsdown", "test": "vitest run --no-isolate --pool=threads", "test:watch": "vitest --no-isolate --pool=threads", "test:coverage": "vitest run --coverage --no-isolate --pool=threads", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs", "check": "run-p check:*", "check:type": "tsc --noEmit", "check:biome": "biome check --fix --no-errors-on-unmatched", "preinstall": "npx only-allow pnpm", "postinstall": "lefthook install" } }