-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.82 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 2.82 KB
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
{
"name": "@promptrails/sdk",
"version": "0.8.0",
"description": "Official TypeScript SDK for the PromptRails API",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/index.d.ts"
},
"./tracing": {
"import": "./dist/tracing/index.js",
"require": "./dist/cjs/tracing/index.js",
"types": "./dist/tracing/index.d.ts"
},
"./tracing/integrations/openai": {
"import": "./dist/tracing/integrations/openai.js",
"require": "./dist/cjs/tracing/integrations/openai.js",
"types": "./dist/tracing/integrations/openai.d.ts"
},
"./tracing/integrations/langchain": {
"import": "./dist/tracing/integrations/langchain.js",
"require": "./dist/cjs/tracing/integrations/langchain.js",
"types": "./dist/tracing/integrations/langchain.d.ts"
},
"./tracing/integrations/anthropic": {
"import": "./dist/tracing/integrations/anthropic.js",
"require": "./dist/cjs/tracing/integrations/anthropic.js",
"types": "./dist/tracing/integrations/anthropic.d.ts"
},
"./tracing/integrations/google": {
"import": "./dist/tracing/integrations/google.js",
"require": "./dist/cjs/tracing/integrations/google.js",
"types": "./dist/tracing/integrations/google.d.ts"
},
"./tracing/integrations/otel": {
"import": "./dist/tracing/integrations/otel.js",
"require": "./dist/cjs/tracing/integrations/otel.js",
"types": "./dist/tracing/integrations/otel.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc -p tsconfig.json && node scripts/fix-esm-imports.mjs && tsc -p tsconfig.cjs.json",
"test": "jest",
"lint": "eslint src/ tests/ --ext .ts",
"lint:fix": "eslint src/ tests/ --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build"
},
"keywords": [
"promptrails",
"sdk",
"api",
"llm",
"ai",
"agents"
],
"author": "PromptRails <support@promptrails.ai>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/promptrails/promptrails"
},
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"ts-jest": "^29.1.0",
"typescript": "^5.3.0"
}
}