UNPKG

apiful

Version:
134 lines (133 loc) 3.58 kB
{ "name": "apiful", "type": "module", "version": "2.0.2", "packageManager": "pnpm@10.6.5", "description": "Extensible, typed API tooling", "author": "Johann Schopplich <hello@johannschopplich.com>", "license": "MIT", "homepage": "https://github.com/johannschopplich/apiful#readme", "repository": { "type": "git", "url": "git+https://github.com/johannschopplich/apiful.git" }, "bugs": { "url": "https://github.com/johannschopplich/apiful/issues" }, "keywords": [ "api", "client", "http-status-codes", "nitro", "ofetch", "routes", "worker" ], "sideEffects": false, "exports": { ".": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "./config": { "types": "./dist/config.d.mts", "default": "./dist/config.mjs" }, "./extensions": { "types": "./dist/extensions/index.d.mts", "default": "./dist/extensions/index.mjs" }, "./openapi": { "types": "./dist/openapi/index.d.mts", "default": "./dist/openapi/index.mjs" }, "./schema": { "types": "./schema.d.mts", "default": "./schema.mjs" }, "./http-status-codes": { "types": "./dist/generated/http-status-codes.d.mts", "default": "./dist/generated/http-status-codes.mjs" }, "./http-status-phrases": { "types": "./dist/generated/http-status-phrases.d.mts", "default": "./dist/generated/http-status-phrases.mjs" }, "./utils": { "types": "./dist/utils/index.d.mts", "default": "./dist/utils/index.mjs" } }, "types": "dist/index.d.mts", "bin": { "apiful": "bin/apiful.mjs" }, "files": [ "bin", "dist", "schema.*" ], "scripts": { "build": "unbuild", "dev": "tsx playground/clients.ts", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs", "lint": "eslint .", "lint:fix": "eslint . --fix", "test": "vitest", "test:types": "tsc --noEmit", "release": "bumpp", "prepack": "pnpm run build", "prepare": "tsx src/cli generate --root=\"playground\"" }, "dependencies": { "@types/json-schema": "^7.0.15", "c12": "^3.0.2", "citty": "^0.1.6", "consola": "^3.4.2", "defu": "^6.1.4", "ofetch": "^1.4.1", "openapi-typescript-helpers": "0.0.13", "scule": "^1.3.0", "ufo": "^1.5.4" }, "optionalDependencies": { "json-schema-to-typescript-lite": "^14.1.0", "openapi-typescript": "^7" }, "devDependencies": { "@antfu/eslint-config": "^4.10.1", "@iconify-json/carbon": "^1.2.8", "@iconify-json/devicon-plain": "^1.2.20", "@types/node": "^22.13.10", "bumpp": "^10.1.0", "eslint": "^9.22.0", "get-port-please": "^3.1.2", "h3": "^1.15.1", "json-schema-to-typescript-lite": "^14.1.0", "listhen": "^1.9.0", "openapi-typescript": "^7.6.1", "tinyexec": "^1.0.0", "ts-morph": "^25.0.1", "tsx": "^4.19.3", "typescript": "^5.8.2", "unbuild": "^3.5.0", "unocss": "^66.0.0", "vitepress": "^1.6.3", "vitest": "^3.0.9" }, "pnpm": { "overrides": { "function-bind": "npm:@socketregistry/function-bind@^1.0.6", "hasown": "npm:@socketregistry/hasown@^1.0.6", "indent-string": "npm:@socketregistry/indent-string@^1.0.12", "is-core-module": "npm:@socketregistry/is-core-module@^1.0.8", "path-parse": "npm:@socketregistry/path-parse@^1.0.6" }, "onlyBuiltDependencies": [ "@parcel/watcher", "esbuild" ] } }