{ "name": "@anthropic-ai/sdk", "version": "0.80.0", "description": "The official TypeScript library for the Anthropic API", "author": "Anthropic ", "types": "dist/index.d.ts", "main": "dist/index.js", "type": "commonjs", "repository": "github:anthropics/anthropic-sdk-typescript", "license": "MIT", "packageManager": "yarn@1.22.22", "files": [ "**/*" ], "private": false, "publishConfig": { "access": "public" }, "scripts": { "test": "./scripts/test", "build": "./scripts/build-all", "prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1", "format": "./scripts/format", "prepare": "if ./scripts/utils/check-is-in-git-install.sh; then ./scripts/build && ./scripts/utils/git-swap.sh; fi", "tsn": "ts-node -r tsconfig-paths/register", "lint": "./scripts/lint", "fix": "./scripts/format" }, "dependencies": { "json-schema-to-ts": "^3.1.1" }, "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" }, "peerDependenciesMeta": { "zod": { "optional": true } }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.0", "@modelcontextprotocol/sdk": "^1.24.2", "@swc/core": "^1.3.102", "@swc/jest": "^0.2.29", "@types/jest": "^29.4.0", "@types/node": "^20.17.6", "@typescript-eslint/eslint-plugin": "8.31.1", "@typescript-eslint/parser": "8.31.1", "deep-object-diff": "^1.1.9", "eslint": "^9.39.1", "eslint-plugin-prettier": "^5.4.1", "eslint-plugin-unused-imports": "^4.1.4", "iconv-lite": "^0.6.3", "jest": "^29.4.0", "nock": "^14.0.10", "prettier": "^3.0.0", "publint": "^0.2.12", "ts-jest": "^29.1.0", "ts-node": "^10.5.0", "tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz", "tsconfig-paths": "^4.0.0", "tslib": "^2.8.1", "typescript": "5.8.3", "typescript-eslint": "8.31.1", "zod": "^3.25.0 || ^4.0.0" }, "bin": { "anthropic-ai-sdk": "bin/cli" }, "overrides": { "minimatch": "^9.0.5" }, "pnpm": { "overrides": { "minimatch": "^9.0.5" } }, "resolutions": { "minimatch": "^9.0.5" }, "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./*.mjs": { "default": "./dist/*.mjs" }, "./*.js": { "default": "./dist/*.js" }, "./*": { "import": "./dist/*.mjs", "require": "./dist/*.js" } } }