{
  "name": "@azure-tools/typespec-autorest",
  "version": "0.73.2",
  "author": "Microsoft Corporation",
  "description": "TypeSpec library for emitting openapi from the TypeSpec REST protocol binding",
  "homepage": "https://azure.github.io/typespec-azure",
  "readme": "https://github.com/Azure/typespec-azure/blob/main/README.md",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Azure/typespec-azure.git"
  },
  "bugs": {
    "url": "https://github.com/Azure/typespec-azure/issues"
  },
  "keywords": [
    "typespec",
    "autorest"
  ],
  "type": "module",
  "main": "dist/src/index.js",
  "tspMain": "lib/autorest.tsp",
  "exports": {
    ".": {
      "typespec": "./lib/autorest.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"
    }
  },
  "engines": {
    "node": ">=22.0.0"
  },
  "files": [
    "lib/*.tsp",
    "schema/dist/schema.js",
    "schema/dist/ServiceYaml.json",
    "dist/**",
    "!dist/test/**"
  ],
  "peerDependencies": {
    "@azure-tools/typespec-azure-core": "^0.73.0",
    "@azure-tools/typespec-client-generator-core": "^0.73.0",
    "@azure-tools/typespec-azure-resource-manager": "^0.73.0",
    "@typespec/http": "^1.17.0",
    "@typespec/openapi": "^1.17.0",
    "@typespec/rest": "^0.87.0",
    "@typespec/versioning": "^0.87.0",
    "@typespec/compiler": "^1.17.0",
    "@typespec/xml": "^0.87.0"
  },
  "peerDependenciesMeta": {
    "@typespec/xml": {
      "optional": true
    }
  },
  "dependencies": {
    "yaml": "^2.9.0",
    "@azure-tools/typespec-azure-examples": "^0.2.2"
  },
  "devDependencies": {
    "@types/node": "^26.3.0",
    "@vitest/coverage-v8": "^5.0.0",
    "@vitest/ui": "^5.0.0",
    "rimraf": "^6.1.3",
    "typescript": "npm:@typescript/typescript6@~6.0.2",
    "vitest": "^5.0.0",
    "@azure-tools/typespec-azure-core": "^0.73.0",
    "@typespec/compiler": "^1.17.0",
    "@azure-tools/typespec-client-generator-core": "^0.73.0",
    "@typespec/http": "^1.17.0",
    "@azure-tools/typespec-azure-resource-manager": "^0.73.0",
    "@typespec/json-schema": "^1.17.0",
    "@typespec/library-linter": "^0.87.0",
    "@typespec/openapi": "^1.17.0",
    "@typespec/rest": "^0.87.0",
    "@typespec/tspd": "^0.77.1",
    "@typespec/versioning": "^0.87.0"
  },
  "scripts": {
    "clean": "rimraf ./dist ./temp",
    "build": "pnpm gen-extern-signature && pnpm regen-autorest-openapi-schema && pnpm regen-service-yaml-schema && tsc -p tsconfig.build.json && pnpm lint-typespec-library",
    "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",
    "regen-autorest-openapi-schema": "tsp compile ./schema/autorest-openapi-schema.tsp --warn-as-error && node ./.scripts/schema-json-to-js.js",
    "regen-service-yaml-schema": "tsp compile ./schema/service-yaml.tsp --warn-as-error",
    "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  --output-dir ../../website/src/content/docs/docs/emitters/typespec-autorest/reference"
  }
}