File size: 3,700 Bytes
c211499
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
  "name": "langsmith",
  "version": "0.0.48",
  "description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.",
  "files": [
    "dist/",
    "client.cjs",
    "client.js",
    "client.d.ts",
    "run_trees.cjs",
    "run_trees.js",
    "run_trees.d.ts",
    "evaluation.cjs",
    "evaluation.js",
    "evaluation.d.ts",
    "schemas.cjs",
    "schemas.js",
    "schemas.d.ts",
    "index.cjs",
    "index.js",
    "index.d.ts"
  ],
  "type": "module",
  "main": "./dist/index.js",
  "bin": {
    "langsmith": "./dist/cli/main.cjs"
  },
  "types": "./dist/index.d.ts",
  "scripts": {
    "build": "yarn clean && yarn build:esm && yarn build:cjs && node scripts/create-entrypoints.js && node scripts/create-cli.js",
    "clean": "rm -rf dist/ && node scripts/create-entrypoints.js clean",
    "build:esm": "tsc --outDir dist/ && rm -rf dist/tests dist/**/tests",
    "build:cjs": "tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rm -r dist-cjs",
    "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests --testPathIgnorePatterns='\\.int\\.test.[tj]s' --testTimeout 30000",
    "test:integration": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000",
    "test:single": "NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000",
    "lint": "eslint 'src/**/*.{ts,tsx}' --quiet --fix",
    "format": "prettier --write 'src/**/*.{ts,tsx}'",
    "format:check": "prettier --check 'src/**/*.{ts,tsx}'",
    "precommit": "lint-staged",
    "prepublish": "yarn run build"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/langchain-ai/langsmith-sdk.git"
  },
  "keywords": [
    "LLM",
    "Tracing",
    "Evaluation",
    "LangChain"
  ],
  "author": "LangChain",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/langchain-ai/langsmith-sdk/issues"
  },
  "homepage": "https://github.com/langchain-ai/langsmith-sdk#readme",
  "devDependencies": {
    "@babel/preset-env": "^7.22.4",
    "@jest/globals": "^29.5.0",
    "@tsconfig/recommended": "^1.0.2",
    "@types/jest": "^29.5.1",
    "@typescript-eslint/eslint-plugin": "^5.59.8",
    "@typescript-eslint/parser": "^5.59.8",
    "babel-jest": "^29.5.0",
    "cross-env": "^7.0.3",
    "dotenv": "^16.1.3",
    "eslint": "^8.41.0",
    "eslint-config-prettier": "^8.8.0",
    "eslint-plugin-import": "^2.27.5",
    "eslint-plugin-no-instanceof": "^1.0.1",
    "eslint-plugin-prettier": "^4.2.1",
    "jest": "^29.5.0",
    "langchain": "^0.0.147",
    "prettier": "^2.8.8",
    "ts-jest": "^29.1.0",
    "ts-node": "^10.9.1",
    "typescript": "^5.0.4"
  },
  "dependencies": {
    "@types/uuid": "^9.0.1",
    "commander": "^10.0.1",
    "p-queue": "^6.6.2",
    "p-retry": "4",
    "uuid": "^9.0.0"
  },
  "lint-staged": {
    "**/*.{ts,tsx}": [
      "prettier --write --ignore-unknown",
      "eslint --cache --fix"
    ]
  },
  "exports": {
    ".": {
      "types": "./index.d.ts",
      "import": "./index.js",
      "require": "./index.cjs"
    },
    "./client": {
      "types": "./client.d.ts",
      "import": "./client.js",
      "require": "./client.cjs"
    },
    "./run_trees": {
      "types": "./run_trees.d.ts",
      "import": "./run_trees.js",
      "require": "./run_trees.cjs"
    },
    "./evaluation": {
      "types": "./evaluation.d.ts",
      "import": "./evaluation.js",
      "require": "./evaluation.cjs"
    },
    "./schemas": {
      "types": "./schemas.d.ts",
      "import": "./schemas.js",
      "require": "./schemas.cjs"
    },
    "./package.json": "./package.json"
  }
}