-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
83 lines (83 loc) · 2.08 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
{
"name": "llm-api",
"description": "Fully typed chat APIs for OpenAI and Azure's chat models - with token checking and retries",
"version": "1.6.0",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"keywords": [
"typescript",
"gpt",
"chatgpt",
"llama",
"llm",
"ai",
"ml",
"prompt",
"prompt engineering",
"openai"
],
"author": "David Zhang <david@aomni.com>",
"license": "MIT",
"homepage": "https://github.com/dzhng/llm-api",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/dzhng/llm-api.git"
},
"bugs": {
"url": "https://github.com/dzhng/llm-api/issues"
},
"scripts": {
"setup": "husky install",
"build": "tsc --build --pretty",
"lint": "eslint src --ext ts,tsx,js,jsx --ignore-path .gitignore --fix",
"test": "jest --passWithNoTests",
"test:update": "jest -u --passWithNoTests",
"playground": "tsx playground"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.20.7",
"@aws-sdk/client-bedrock-runtime": "^3.427.0",
"debug": "^4.3.4",
"groq-sdk": "^0.3.2",
"js-tiktoken": "^1.0.10",
"jsonic": "^1.0.1",
"jsonrepair": "^3.6.0",
"lodash": "^4.17.21",
"openai": "^4.38.5",
"tsx": "^4.7.1",
"type-fest": "^4.11.0"
},
"devDependencies": {
"@types/debug": "^4.1.10",
"@types/jest": "^29.5.7",
"@types/jsonic": "^0.3.2",
"@types/lodash": "^4.14.200",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-universe": "^12.0.0",
"eslint-import-resolver-typescript": "^3.3.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.0.2",
"prettier": "^3.2.5",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --ext ts,tsx,js,jsx --fix --ignore-path .gitignore ",
"prettier --write"
],
"*.{json,md,css,scss}": [
"prettier --write"
]
}
}