|
| 1 | +{ |
| 2 | + "name": "@anthropic-ai/bedrock-sdk", |
| 3 | + "version": "0.6.5", |
| 4 | + "description": "The official TypeScript library for the Anthropic Bedrock API", |
| 5 | + "author": "Anthropic <[email protected]>", |
| 6 | + "types": "dist/index.d.ts", |
| 7 | + "main": "dist/index.js", |
| 8 | + "type": "commonjs", |
| 9 | + "repository": "github:anthropics/anthropic-sdk-typescript", |
| 10 | + "license": "MIT", |
| 11 | + "packageManager": "[email protected]", |
| 12 | + "private": false, |
| 13 | + "scripts": { |
| 14 | + "test": "bin/check-test-server && yarn jest", |
| 15 | + "build": "bash ./build", |
| 16 | + "prepack": "echo 'to pack, run yarn build && (cd dist; yarn pack)' && exit 1", |
| 17 | + "prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1", |
| 18 | + "format": "prettier --write --cache --cache-strategy metadata . !dist", |
| 19 | + "prepare": "if [ $(basename $(dirname $PWD)) = 'node_modules' ]; then npm run build; fi", |
| 20 | + "tsn": "ts-node -r tsconfig-paths/register", |
| 21 | + "lint": "eslint --ext ts,js .", |
| 22 | + "fix": "eslint --fix --ext ts,js ." |
| 23 | + }, |
| 24 | + "dependencies": { |
| 25 | + "@anthropic-ai/sdk": "file:../../dist/", |
| 26 | + "@aws-crypto/sha256-js": "^4.0.0", |
| 27 | + "@aws-sdk/client-bedrock-runtime": "^3.423.0", |
| 28 | + "@aws-sdk/credential-providers": "^3.341.0", |
| 29 | + "@aws-sdk/protocol-http": "^3.341.0", |
| 30 | + "@aws-sdk/signature-v4": "^3.341.0", |
| 31 | + "@smithy/eventstream-serde-node": "^2.0.10", |
| 32 | + "@smithy/fetch-http-handler": "^2.2.1", |
| 33 | + "@smithy/protocol-http": "^3.0.6", |
| 34 | + "@smithy/smithy-client": "^2.1.9", |
| 35 | + "@smithy/types": "^2.3.4", |
| 36 | + "@smithy/util-base64": "^2.0.0" |
| 37 | + }, |
| 38 | + "devDependencies": { |
| 39 | + "@types/jest": "^29.4.0", |
| 40 | + "@typescript-eslint/eslint-plugin": "^6.7.0", |
| 41 | + "@typescript-eslint/parser": "^6.7.0", |
| 42 | + "eslint": "^8.49.0", |
| 43 | + "eslint-plugin-prettier": "^5.0.1", |
| 44 | + "eslint-plugin-unused-imports": "^3.0.0", |
| 45 | + "jest": "^29.4.0", |
| 46 | + "prettier": "^3.0.0", |
| 47 | + "ts-jest": "^29.1.0", |
| 48 | + "ts-morph": "^19.0.0", |
| 49 | + "ts-node": "^10.5.0", |
| 50 | + "tsc-multi": "^1.1.0", |
| 51 | + "tsconfig-paths": "^4.0.0", |
| 52 | + "typescript": "^4.8.2" |
| 53 | + }, |
| 54 | + "imports": { |
| 55 | + "@anthropic-ai/bedrock-sdk": ".", |
| 56 | + "@anthropic-ai/bedrock-sdk/*": "./src/*" |
| 57 | + }, |
| 58 | + "exports": { |
| 59 | + ".": { |
| 60 | + "require": { |
| 61 | + "types": "./dist/index.d.ts", |
| 62 | + "default": "./dist/index.js" |
| 63 | + }, |
| 64 | + "types": "./dist/index.d.mts", |
| 65 | + "default": "./dist/index.mjs" |
| 66 | + }, |
| 67 | + "./*.mjs": { |
| 68 | + "types": "./dist/*.d.ts", |
| 69 | + "default": "./dist/*.mjs" |
| 70 | + }, |
| 71 | + "./*.js": { |
| 72 | + "types": "./dist/*.d.ts", |
| 73 | + "default": "./dist/*.js" |
| 74 | + }, |
| 75 | + "./*": { |
| 76 | + "types": "./dist/*.d.ts", |
| 77 | + "require": "./dist/*.js", |
| 78 | + "default": "./dist/*.mjs" |
| 79 | + } |
| 80 | + } |
| 81 | +} |
0 commit comments