forked from langchain-ai/langchainjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.87 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
{
"name": "langchainjs",
"version": "0.0.4",
"private": true,
"engines": {
"node": ">=18"
},
"workspaces": [
"langchain",
"langchain-core",
"libs/*",
"examples",
"docs/*"
],
"repository": {
"type": "git",
"url": "https://github.com/langchain-ai/langchainjs.git"
},
"packageManager": "[email protected]",
"scripts": {
"build": "turbo run build --filter=\"!test-exports-*\" --concurrency 1",
"build:deps": "yarn workspace @langchain/core build && yarn workspace @langchain/anthropic build && yarn workspace @langchain/openai build",
"format": "turbo run format",
"format:check": "turbo run format:check",
"lint": "turbo run lint --concurrency 1",
"lint:fix": "yarn lint -- --fix",
"test": "yarn test:unit && yarn workspace @langchain/core build && yarn workspace langchain build && yarn test:exports:docker",
"test:unit": "turbo run test --filter langchain",
"test:int": "yarn run test:int:deps && turbo run test:integration ; yarn run test:int:deps:down",
"test:int:deps": "docker compose -f test-int-deps-docker-compose.yml up -d",
"test:int:deps:down": "docker compose -f test-int-deps-docker-compose.yml down",
"test:exports:docker": "docker compose up --force-recreate",
"publish": "bash langchain/scripts/release-branch.sh && turbo run --filter langchain build lint test --concurrency 1 && yarn run test:exports:docker && yarn workspace langchain run release && echo '🔗 Open https://github.com/langchain-ai/langchainjs/compare/release?expand=1 and merge the release PR'",
"publish:core": "bash langchain/scripts/release-branch.sh && turbo run --filter @langchain/core build lint test --concurrency 1 && yarn run test:exports:docker && yarn workspace @langchain/core run release && echo '🔗 Open https://github.com/langchain-ai/langchainjs/compare/release?expand=1 and merge the release PR'",
"example": "yarn workspace examples start",
"precommit": "turbo run precommit",
"docs": "yarn workspace core_docs start",
"docs:api_refs": "yarn workspace api_refs start"
},
"author": "LangChain",
"license": "MIT",
"devDependencies": {
"@tsconfig/recommended": "^1.0.2",
"@types/jest": "^29.5.3",
"dotenv": "^16.0.3",
"lint-staged": "^13.1.1",
"prettier": "^2.8.3",
"typescript": "^5.0.0"
},
"dependencies": {
"turbo": "latest"
},
"resolutions": {
"dpdm@^3.12.0": "patch:dpdm@npm%3A3.12.0#./.yarn/patches/dpdm-npm-3.12.0-0dfdd8e3b8.patch",
"typedoc-plugin-markdown@next": "patch:typedoc-plugin-markdown@npm%3A4.0.0-next.6#./.yarn/patches/typedoc-plugin-markdown-npm-4.0.0-next.6-96b4b47746.patch",
"[email protected]": "patch:voy-search@npm%3A0.6.2#./.yarn/patches/voy-search-npm-0.6.2-d4aca30a0e.patch"
},
"lint-staged": {
"**/*.{ts,tsx}": [
"prettier --write --ignore-unknown",
"eslint --cache --fix"
],
"*.md": "prettier --write"
}
}