{
  "name": "@typespec/compiler",
  "version": "1.11.0",
  "description": "TypeSpec compiler and standard library",
  "author": "Microsoft Corporation",
  "license": "MIT",
  "homepage": "https://typespec.io",
  "readme": "https://github.com/microsoft/typespec/blob/main/README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/microsoft/typespec.git"
  },
  "bugs": {
    "url": "https://github.com/microsoft/typespec/issues"
  },
  "keywords": [
    "typespec",
    "cli"
  ],
  "type": "module",
  "main": "dist/src/index.js",
  "tspMain": "lib/std/main.tsp",
  "exports": {
    ".": {
      "typespec": "./lib/std/main.tsp",
      "types": "./dist/src/index.d.ts",
      "default": "./dist/src/index.js"
    },
    "./utils": {
      "types": "./dist/src/utils/index.d.ts",
      "default": "./dist/src/utils/index.js"
    },
    "./testing": {
      "types": "./dist/src/testing/index.d.ts",
      "default": "./dist/src/testing/index.js"
    },
    "./module-resolver": {
      "types": "./dist/module-resolver/index.d.ts",
      "default": "./dist/src/module-resolver/index.js"
    },
    "./ast": {
      "import": "./dist/src/ast/index.js"
    },
    "./typekit": {
      "types": "./dist/src/typekit/index.d.ts",
      "default": "./dist/src/typekit/index.js"
    },
    "./experimental": {
      "types": "./dist/src/experimental/index.d.ts",
      "default": "./dist/src/experimental/index.js"
    },
    "./experimental/typekit": {
      "types": "./dist/src/experimental/typekit/index.d.ts",
      "default": "./dist/src/experimental/typekit/index.js"
    },
    "./internals": {
      "types": "./dist/src/internals/index.d.ts",
      "import": "./dist/src/internals/index.js"
    },
    "./internals/prettier-formatter": {
      "import": "./dist/src/internals/prettier-formatter.js"
    },
    "./casing": {
      "import": "./dist/src/casing/index.js"
    }
  },
  "browser": {
    "./dist/src/core/node-host.js": "./dist/src/core/node-host.browser.js",
    "./dist/src/core/logger/console-sink.js": "./dist/src/core/logger/console-sink.browser.js"
  },
  "engines": {
    "node": ">=20.0.0"
  },
  "bin": {
    "tsp": "cmd/tsp.js",
    "tsp-server": "cmd/tsp-server.js"
  },
  "files": [
    "lib/**/*.tsp",
    "dist/**",
    "templates/**",
    "entrypoints",
    "!dist/test/**"
  ],
  "dependencies": {
    "@babel/code-frame": "~7.29.0",
    "@inquirer/prompts": "^8.3.0",
    "ajv": "~8.18.0",
    "change-case": "~5.4.4",
    "env-paths": "^4.0.0",
    "globby": "~16.1.1",
    "is-unicode-supported": "^2.1.0",
    "mustache": "~4.2.0",
    "picocolors": "~1.1.1",
    "prettier": "~3.8.1",
    "semver": "^7.7.4",
    "tar": "^7.5.11",
    "temporal-polyfill": "^0.3.2",
    "vscode-languageserver": "~9.0.1",
    "vscode-languageserver-textdocument": "~1.0.12",
    "yaml": "~2.8.2",
    "yargs": "~18.0.0"
  },
  "devDependencies": {
    "@types/babel__code-frame": "~7.27.0",
    "@types/mustache": "~4.2.6",
    "@types/node": "~25.5.0",
    "@types/semver": "^7.7.1",
    "@types/yargs": "~17.0.35",
    "@vitest/coverage-v8": "^4.1.0",
    "@vitest/ui": "^4.1.0",
    "c8": "^11.0.0",
    "grammarkdown": "~3.3.2",
    "pathe": "^2.0.3",
    "rimraf": "~6.1.3",
    "source-map-support": "~0.5.21",
    "typescript": "~5.9.3",
    "vitest": "^4.1.0",
    "vscode-oniguruma": "~2.0.1",
    "vscode-textmate": "~9.3.2",
    "@typespec/internal-build-utils": "^0.81.0",
    "tmlanguage-generator": "^0.6.8"
  },
  "scripts": {
    "clean": "rimraf ./dist ./temp",
    "build:init-templates-index": "tsx ./.scripts/build-init-templates.ts",
    "build": "pnpm gen-manifest && pnpm build:init-templates-index && pnpm compile && pnpm generate-tmlanguage",
    "api-extractor": "api-extractor run --local --verbose",
    "compile": "tsc -p tsconfig.build.json",
    "watch": "tsc -p tsconfig.build.json --watch",
    "watch-tmlanguage": "node scripts/watch-tmlanguage.js",
    "generate-tmlanguage": "node scripts/generate-tmlanguage.js",
    "gen-extern-signature": "tsx ./.scripts/gen-extern-signature.ts",
    "dogfood": "node scripts/dogfood.js",
    "test": "vitest run",
    "test:ui": "vitest --ui",
    "test:watch": "vitest -w",
    "test:ci": "vitest run --coverage --reporter=junit --reporter=default",
    "test:e2e": "vitest run --config ./vitest.config.e2e.ts",
    "gen-manifest": "node scripts/generate-manifest.js",
    "regen-nonascii": "node scripts/regen-nonascii.js",
    "fuzz": "node dist/test/manual/fuzz.js run",
    "lint": "eslint . --max-warnings=0",
    "lint:fix": "eslint . --fix"
  }
}