-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
128 lines (128 loc) · 2.96 KB
/
package.json
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
124
125
126
127
128
{
"name": "langtail",
"version": "0.14.0",
"description": "",
"main": "./Langtail.js",
"packageManager": "[email protected]",
"engines": {
"node": ">=18"
},
"bin": {
"langtail": "./bin/entry.mjs"
},
"scripts": {
"test": "vitest",
"ts": "tsc --noEmit",
"format": "prettier --write .",
"build": "pnpm run clean && tsup && copyfiles -u 1 src/bin/*.template dist/ && node src/buildHelpers/moveFiles.js",
"clean": "node src/buildHelpers/cleanFiles.js",
"prepublishOnly": "pnpm run build",
"postpublish": "pnpm run clean"
},
"keywords": [
"openai",
"langtail",
"nlp",
"ai",
"natural language processing",
"gpt-3",
"gpt-4",
"openrouter",
"anthropic"
],
"authors": [
"Langtail <[email protected]>"
],
"license": "MIT",
"devDependencies": {
"@types/node": "^20.12.11",
"copyfiles": "^2.4.1",
"fs-extra": "^11.2.0",
"jsdom": "^24.1.0",
"nock": "14.0.0-beta.5",
"prettier": "^3.2.5",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
},
"module": "./Langtail.mjs",
"types": "./Langtail.d.ts",
"exports": {
".": {
"require": "./Langtail.js",
"import": "./Langtail.mjs",
"types": "./Langtail.d.ts"
},
"./getOpenAIBody": {
"require": "./getOpenAIBody.js",
"import": "./getOpenAIBody.mjs",
"types": "./getOpenAIBody.d.ts"
},
"./template": {
"require": "./template.js",
"import": "./template.mjs",
"types": "./template.d.ts"
},
"./openai": {
"require": "./openai.js",
"import": "./openai.mjs",
"types": "./openai.d.ts"
},
"./schemas": {
"require": "./schemas.js",
"import": "./schemas.mjs",
"types": "./schemas.d.ts"
},
"./stream": {
"require": "./stream/index.js",
"import": "./stream/index.mjs",
"types": "./stream/index.d.ts"
},
"./vercel-ai": {
"require": "./vercel-ai/index.js",
"import": "./vercel-ai/index.mjs",
"types": "./vercel-ai/index.d.ts"
},
"./customTypes": {
"require": "./customTypes.js",
"import": "./customTypes.mjs",
"types": "./customTypes.d.ts"
}
},
"dependencies": {
"@ai-sdk/provider": "^1.0.1",
"@ai-sdk/provider-utils": "^2.0.3",
"@langtail/handlebars-evalless": "^0.1.2",
"commander": "^12.1.0",
"date-fns": "^3.6.0",
"dotenv-flow": "^4.1.0",
"json-schema-to-zod": "^2.1.0",
"openai": "^4.76.0",
"query-string": "^7.1.3",
"zod": "^3.23.8"
},
"tsup": {
"dts": true,
"sourcemap": true,
"format": [
"cjs",
"esm"
],
"clean": true,
"entryPoints": [
"src/Langtail.ts",
"src/customTypes.ts",
"src/template.ts",
"src/getOpenAIBody.ts",
"src/openai.ts",
"src/vercel-ai/index.ts",
"src/bin/entry.ts",
"src/schemas.ts",
"src/stream/index.ts"
],
"external": [
"dotenv-flow",
"langtail/customTypes"
]
}
}