-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
125 lines (125 loc) · 3.02 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
{
"name": "@ibm-generative-ai/node-sdk",
"version": "3.2.4",
"description": "IBM Generative AI Node.js SDK (Tech Preview)",
"keywords": [
"ai",
"generative",
"genai",
"ibm"
],
"homepage": "https://bam.res.ibm.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/IBM/ibm-generative-ai-node-sdk.git"
},
"bugs": {
"url": "https://github.com/IBM/ibm-generative-ai-node-sdk/issues"
},
"packageManager": "[email protected]",
"type": "module",
"files": [
"dist/**/*"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./langchain": {
"import": {
"types": "./dist/langchain/index.d.ts",
"default": "./dist/langchain/index.js"
},
"require": {
"types": "./dist/langchain/index.d.cts",
"default": "./dist/langchain/index.cjs"
}
}
},
"typesVersions": {
"*": {
".": [
"dist/index.d.ts"
],
"langchain": [
"dist/langchain/index.d.ts"
]
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "tsup",
"format": "prettier --write .",
"lint": "eslint .",
"test": "vitest",
"test:coverage": "vitest --coverage",
"prepack": "yarn build && pinst --disable",
"postinstall": "husky install",
"postpack": "pinst --enable",
"generate": "./scripts/generate.sh",
"generate:new": "node ./scripts/generate.js",
"examples": "./scripts/examples.sh"
},
"peerDependencies": {
"@langchain/core": ">=0.1.0"
},
"peerDependenciesMeta": {
"@langchain/core": {
"optional": true
}
},
"devDependencies": {
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"@langchain/core": "^0.1.0",
"@types/lodash": "^4.14.200",
"@types/node": "^20.11.19",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vitest/coverage-c8": "^0.31.2",
"compare-versions": "^6.1.0",
"dotenv-flow": "^4.0.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"husky": "^8.0.3",
"jest-extended": "^4.0.2",
"lint-staged": "^15.0.2",
"lodash": "^4.17.21",
"msw": "^1.3.2",
"openapi-typescript": "^6.7.4",
"pinst": "^3.0.0",
"prettier": "^3.0.3",
"ts-node": "^10.9.1",
"tsup": "^8.0.2",
"typescript": "^5.4.3",
"vitest": "^0.34.6"
},
"dependencies": {
"@ai-zen/node-fetch-event-source": "^2.1.2",
"fetch-retry": "^5.0.6",
"http-status-codes": "^2.3.0",
"openapi-fetch": "^0.8.2",
"p-queue-compat": "1.0.225",
"yaml": "^2.3.3"
},
"lint-staged": {
"*.{cjs,js,jsx,ts,tsx}": [
"eslint --fix"
],
"*.md": [
"prettier --write"
]
}
}