{
  "name": "@typespec/openapi3",
  "version": "1.14.0",
  "author": "Microsoft Corporation",
  "description": "TypeSpec library for emitting OpenAPI 3.0 and OpenAPI 3.1 from the TypeSpec REST protocol binding and converting OpenAPI3 to TypeSpec",
  "homepage": "https://typespec.io",
  "readme": "https://github.com/microsoft/typespec/blob/main/README.md",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/microsoft/typespec.git"
  },
  "bugs": {
    "url": "https://github.com/microsoft/typespec/issues"
  },
  "keywords": [
    "typespec"
  ],
  "bin": {
    "tsp-openapi3": "cmd/tsp-openapi3.js"
  },
  "type": "module",
  "main": "dist/src/index.js",
  "tspMain": "lib/main.tsp",
  "exports": {
    ".": {
      "typespec": "./lib/main.tsp",
      "types": "./dist/src/index.d.ts",
      "default": "./dist/src/index.js"
    },
    "./testing": {
      "types": "./dist/src/testing/index.d.ts",
      "default": "./dist/src/testing/index.js"
    }
  },
  "imports": {
    "#test/*": "./test/*"
  },
  "engines": {
    "node": ">=22.0.0"
  },
  "files": [
    "lib/*.tsp",
    "dist/**",
    "!dist/test/**"
  ],
  "dependencies": {
    "@scalar/json-magic": "^0.12.15",
    "@scalar/openapi-parser": "^0.28.6",
    "@scalar/openapi-types": "^0.9.1",
    "yaml": "^2.8.3",
    "@typespec/asset-emitter": "^0.79.1"
  },
  "peerDependencies": {
    "@typespec/compiler": "^1.14.0",
    "@typespec/events": "^0.84.0",
    "@typespec/openapi": "^1.14.0",
    "@typespec/json-schema": "^1.14.0",
    "@typespec/http": "^1.14.0",
    "@typespec/sse": "^0.84.0",
    "@typespec/streams": "^0.84.0",
    "@typespec/versioning": "^0.84.0"
  },
  "peerDependenciesMeta": {
    "@typespec/json-schema": {
      "optional": true
    },
    "@typespec/xml": {
      "optional": true
    },
    "@typespec/versioning": {
      "optional": true
    },
    "@typespec/streams": {
      "optional": true
    },
    "@typespec/events": {
      "optional": true
    },
    "@typespec/sse": {
      "optional": true
    }
  },
  "devDependencies": {
    "@types/node": "^26.0.0",
    "@types/yargs": "^17.0.35",
    "@vitest/coverage-v8": "^4.1.3",
    "@vitest/ui": "^4.1.3",
    "cross-env": "^10.1.0",
    "rimraf": "^6.1.3",
    "typescript": "~6.0.2",
    "vitest": "^4.1.3",
    "@typespec/compiler": "^1.14.0",
    "@typespec/json-schema": "^1.14.0",
    "@typespec/library-linter": "^0.84.0",
    "@typespec/http": "^1.14.0",
    "@typespec/openapi": "^1.14.0",
    "@typespec/events": "^0.84.0",
    "@typespec/rest": "^0.84.0",
    "@typespec/sse": "^0.84.0",
    "@typespec/streams": "^0.84.0",
    "@typespec/tspd": "^0.76.0",
    "@typespec/versioning": "^0.84.0",
    "@typespec/xml": "^0.84.0"
  },
  "scripts": {
    "clean": "rimraf ./dist ./temp",
    "build": "pnpm gen-version && pnpm gen-extern-signature && pnpm quickbuild && pnpm lint-typespec-library",
    "quickbuild": "tsc -p tsconfig.build.json",
    "watch": "tsc -p tsconfig.build.json --watch",
    "gen-extern-signature": "tspd --enable-experimental gen-extern-signature .",
    "lint-typespec-library": "tsp compile . --warn-as-error --import @typespec/library-linter --no-emit",
    "test": "vitest run",
    "test:watch": "vitest -w",
    "test:ui": "vitest --ui",
    "test:ci": "vitest run --coverage --reporter=junit --reporter=default",
    "lint": "oxlint . --deny-warnings",
    "lint:fix": "oxlint . --fix",
    "regen-docs": "tspd doc .  --enable-experimental --llmstxt --output-dir ../../website/src/content/docs/docs/emitters/openapi3/reference",
    "regen-specs": "cross-env RECORD=true vitest run",
    "gen-version": "node scripts/generate-version.js",
    "api-extractor": "api-extractor run --local --verbose"
  }
}