UNPKG

api

Version:

Magical SDK generation from an OpenAPI definition 🪄

98 lines (97 loc) • 2.78 kB
{ "name": "api", "version": "7.0.0", "description": "Magical SDK generation from an OpenAPI definition 🪄", "keywords": [ "api", "openapi", "sdk", "swagger" ], "homepage": "https://api.readme.dev", "bugs": { "url": "https://github.com/readmeio/api/issues" }, "license": "MIT", "author": "Jon Ursenbach <jon@readme.io>", "repository": { "type": "git", "url": "https://github.com/readmeio/api.git", "directory": "packages/api" }, "bin": { "api": "bin/api.js" }, "files": [ "dist", "legacy-require-handler.**", "schema.json" ], "type": "module", "main": "legacy-require-handler.cjs", "scripts": { "attw": "attw --pack --format ascii --profile node16", "build": "tsc", "build:legacy-handler": "tsc legacy-require-handler.cjs --checkJs --declaration --emitDeclarationOnly", "build:versioned-files": "tsx bin/buildVersionedFiles.ts", "debug:bin": "tsx src/bin.ts", "lint:types": "tsc --noEmit", "prebuild": "rm -rf dist/ && npm run build:versioned-files", "postbuild": "npm run build:legacy-handler", "prepack": "npm run build", "test": "echo 'Please run tests from the root!' && exit 1", "test:smoke": "vitest --config=vitest-smoketest.config.ts", "version": "npm run build:versioned-files && git add schema.json src/packageInfo.ts" }, "dependencies": { "@readme/api-core": "7.0.0", "chalk": "^5.3.0", "ci-info": "^4.0.0", "commander": "^14.0.0", "emphasize": "^7.0.0", "execa": "^8.0.1", "figures": "^6.0.1", "httpsnippet-client-api": "^7.0.0", "js-yaml": "^5.2.1", "json-schema-traverse": "^1.0.0", "license": "^1.0.3", "lodash-es": "^4.18.1", "oas": "^38.1.0", "oas-normalize": "^16.1.1", "ora": "^9.4.1", "preferred-pm": "^4.0.0", "prompts": "^2.4.2", "semver": "^7.8.5", "ssri": "^14.0.0", "ts-morph": "^28.0.0", "update-notifier": "^7.0.0", "uslug": "^1.0.4", "validate-npm-package-name": "^8.0.0" }, "devDependencies": { "@api/test-utils": "file:../test-utils", "@readme/oas-examples": "^8.2.2", "@readme/oas-to-har": "^38.0.0", "@types/lodash-es": "^4.17.12", "@types/prompts": "^2.4.9", "@types/semver": "^7.5.6", "@types/ssri": "^7.1.5", "@types/update-notifier": "^6.0.8", "@types/uslug": "^1.0.4", "@types/validate-npm-package-name": "^4.0.2", "@vitest/coverage-v8": "^4.1.10", "ajv": "^8.12.0", "ajv-formats": "^3.0.1", "nock": "^14.0.16", "openapi-types": "^12.1.3", "tsup": "^8.5.0", "tsx": "^4.23.1", "type-fest": "^5.8.0", "typescript": "^5.8.2", "unique-temp-dir": "^1.0.0", "vitest": "^4.1.10" }, "engines": { "node": ">=20.10.0" } }