-
Notifications
You must be signed in to change notification settings - Fork 456
Expand file tree
/
Copy pathpackage.json
More file actions
146 lines (146 loc) · 4.9 KB
/
package.json
File metadata and controls
146 lines (146 loc) · 4.9 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
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "@langchain/langgraph",
"version": "0.0.17",
"description": "LangGraph",
"type": "module",
"engines": {
"node": ">=18"
},
"main": "./index.js",
"types": "./index.d.ts",
"repository": {
"type": "git",
"url": "git@github.com:langchain-ai/langgraphjs.git"
},
"scripts": {
"build": "yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts",
"build:esm": "NODE_OPTIONS=--max-old-space-size=4096 rm -f src/package.json && tsc --outDir dist/",
"build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 echo '{}' > src/package.json && tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rm -rf dist-cjs/ src/package.json",
"build:watch": "yarn create-entrypoints && tsc --outDir dist/ --watch",
"build:scripts": "yarn create-entrypoints && yarn check-tree-shaking",
"lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/",
"lint:dpdm": "dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts",
"lint": "yarn lint:eslint && yarn lint:dpdm",
"lint:fix": "yarn lint:eslint --fix && yarn lint:dpdm",
"clean": "rm -rf dist/ dist-cjs/ src/package.json && NODE_OPTIONS=--max-old-space-size=4096 yarn create-entrypoints -- --pre",
"prepack": "yarn build",
"test": "NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts",
"test:single": "NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000",
"test:int": "NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%",
"format": "prettier --config .prettierrc --write \"src\"",
"format:check": "prettier --config .prettierrc --check \"src\"",
"move-cjs-to-dist": "yarn lc-build --config ./langchain.config.js --move-cjs-dist",
"create-entrypoints": "yarn lc-build --config ./langchain.config.js --create-entrypoints",
"check-tree-shaking": "yarn lc-build --config ./langchain.config.js --tree-shaking"
},
"author": "LangChain",
"license": "MIT",
"dependencies": {
"@langchain/core": "^0.1.61",
"uuid": "^9.0.1"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
"@langchain/community": "^0.0.43",
"@langchain/openai": "^0.0.23",
"@langchain/scripts": "^0.0.13",
"@swc/core": "^1.3.90",
"@swc/jest": "^0.2.29",
"@tsconfig/recommended": "^1.0.3",
"@types/better-sqlite3": "^7.6.9",
"@types/uuid": "^9",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"better-sqlite3": "^9.5.0",
"dotenv": "^16.3.1",
"dpdm": "^3.12.0",
"eslint": "^8.33.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-no-instanceof": "^1.0.1",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.5.0",
"jest-environment-node": "^29.6.4",
"langchain": "^0.1.29",
"prettier": "^2.8.3",
"release-it": "^15.10.1",
"rollup": "^4.5.2",
"ts-jest": "^29.1.0",
"tsx": "^4.7.0",
"typescript": "^5.4.5",
"zod": "^3.22.4",
"zod-to-json-schema": "^3.22.4"
},
"peerDependencies": {
"better-sqlite3": "^9.5.0"
},
"peerDependenciesMeta": {
"better-sqlite3": {
"optional": true
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"exports": {
".": {
"types": {
"import": "./index.d.ts",
"require": "./index.d.cts",
"default": "./index.d.ts"
},
"import": "./index.js",
"require": "./index.cjs"
},
"./pregel": {
"types": {
"import": "./pregel.d.ts",
"require": "./pregel.d.cts",
"default": "./pregel.d.ts"
},
"import": "./pregel.js",
"require": "./pregel.cjs"
},
"./prebuilt": {
"types": {
"import": "./prebuilt.d.ts",
"require": "./prebuilt.d.cts",
"default": "./prebuilt.d.ts"
},
"import": "./prebuilt.js",
"require": "./prebuilt.cjs"
},
"./checkpoint/sqlite": {
"types": {
"import": "./checkpoint/sqlite.d.ts",
"require": "./checkpoint/sqlite.d.cts",
"default": "./checkpoint/sqlite.d.ts"
},
"import": "./checkpoint/sqlite.js",
"require": "./checkpoint/sqlite.cjs"
},
"./package.json": "./package.json"
},
"files": [
"dist/",
"index.cjs",
"index.js",
"index.d.ts",
"index.d.cts",
"pregel.cjs",
"pregel.js",
"pregel.d.ts",
"pregel.d.cts",
"prebuilt.cjs",
"prebuilt.js",
"prebuilt.d.ts",
"prebuilt.d.cts",
"checkpoint/sqlite.cjs",
"checkpoint/sqlite.js",
"checkpoint/sqlite.d.ts",
"checkpoint/sqlite.d.cts"
]
}