|
| 1 | +{ |
| 2 | + "name": "@anthropic-ai/foundry-sdk", |
| 3 | + "version": "0.1.0", |
| 4 | + "description": "The official TypeScript library for the Anthropic Foundry 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": "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 | + }, |
| 27 | + "devDependencies": { |
| 28 | + "@types/jest": "^29.4.0", |
| 29 | + "@types/node": "^20.17.6", |
| 30 | + "@typescript-eslint/eslint-plugin": "^6.7.0", |
| 31 | + "@typescript-eslint/parser": "^6.7.0", |
| 32 | + "eslint": "^8.49.0", |
| 33 | + "eslint-plugin-prettier": "^5.0.1", |
| 34 | + "eslint-plugin-unused-imports": "^3.0.0", |
| 35 | + "jest": "^29.4.0", |
| 36 | + "prettier": "^3.0.0", |
| 37 | + "ts-jest": "^29.1.0", |
| 38 | + "ts-morph": "^19.0.0", |
| 39 | + "ts-node": "^10.5.0", |
| 40 | + "tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.3/tsc-multi.tgz", |
| 41 | + "tsconfig-paths": "^4.0.0", |
| 42 | + "typescript": "5.8.3" |
| 43 | + }, |
| 44 | + "imports": { |
| 45 | + "@anthropic-ai/foundry-sdk": ".", |
| 46 | + "@anthropic-ai/foundry-sdk/*": "./src/*" |
| 47 | + }, |
| 48 | + "exports": { |
| 49 | + ".": { |
| 50 | + "require": { |
| 51 | + "types": "./dist/index.d.ts", |
| 52 | + "default": "./dist/index.js" |
| 53 | + }, |
| 54 | + "types": "./dist/index.d.mts", |
| 55 | + "default": "./dist/index.mjs" |
| 56 | + }, |
| 57 | + "./*.mjs": { |
| 58 | + "types": "./dist/*.d.ts", |
| 59 | + "default": "./dist/*.mjs" |
| 60 | + }, |
| 61 | + "./*.js": { |
| 62 | + "types": "./dist/*.d.ts", |
| 63 | + "default": "./dist/*.js" |
| 64 | + }, |
| 65 | + "./*": { |
| 66 | + "types": "./dist/*.d.ts", |
| 67 | + "require": "./dist/*.js", |
| 68 | + "default": "./dist/*.mjs" |
| 69 | + } |
| 70 | + } |
| 71 | +} |
0 commit comments