{ "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" } }