forked from langfuse/langfuse-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 3.66 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
{
"name": "langfuse-js",
"description": "Modular monorepo for all Langfuse JS/TS SDKs",
"engines": {
"node": ">=18"
},
"repository": "https://github.com/langfuse/langfuse-js",
"workspaces": [
"langfuse-core",
"langfuse-node",
"langfuse",
"langfuse-langchain",
"langfuse-vercel",
"integration-test/modules"
],
"author": {
"name": "Langfuse",
"email": "[email protected]",
"url": "https://langfuse.com"
},
"private": true,
"license": "MIT",
"scripts": {
"build": "yarn compile",
"clean:build": "git clean -fdx -e node_modules -e .env && rm -rf node_modules && yarn install && yarn build",
"lint": "eslint -c .eslintrc.cjs --fix langfuse*",
"prettier": "prettier --write \"./**/*.{ts,tsx}\"",
"prettier:check": "prettier --check \"./**/*.{ts,tsx}\"",
"generateAPI": "openapi-typescript langfuse-core/openapi-spec/openapi-server.yaml --output langfuse-core/src/openapi/server.ts && openapi-typescript langfuse-core/openapi-spec/openapi-client.yaml --output langfuse-core/src/openapi/client.ts && yarn prettier",
"test": "dotenv -- jest langfuse-core/* langfuse-node/* langfuse/*",
"test:watch": "dotenv -- jest langfuse-core/* langfuse-node/* langfuse/* --watch --runInBand",
"test:all": "dotenv -- jest langfuse-core/* langfuse-node/* langfuse/*",
"test:core": "dotenv -- jest langfuse-core/*",
"test:node": "dotenv -- jest langfuse-node/*",
"test:fetch": "dotenv -- jest langfuse/*",
"test:integration": "dotenv -- jest integration-test/* --verbose --runInBand",
"test:langchain": "dotenv -- jest integration-test/langfuse-integration-langchain --verbose --runInBand",
"test:datasets": "dotenv -- jest integration-test/langfuse-integration-datasets*",
"test:node-integration": "dotenv -- jest integration-test/langfuse-integration-node*",
"test:modules": "dotenv -- jest integration-test/langfuse-integration-modules*",
"test:examples": "dotenv -- jest integration-test/langfuse-integration-examples*",
"compile": "rollup -c --bundleConfigAsCjs",
"docs": "yarn build && typedoc --options ./typedoc.config.cjs"
},
"devDependencies": {
"@ai-sdk/openai": "^1.0.5",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@langchain/core": "^0.3.3",
"@opentelemetry/auto-instrumentations-node": "^0.50.0",
"@opentelemetry/sdk-node": "^0.53.0",
"@opentelemetry/sdk-trace-node": "^1.25.1",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@types/jest": "^29.5.12",
"@types/node": "^22.7.4",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^6.21.0",
"ai": "^4.0.6",
"axios": "^1.7.4",
"babel-jest": "^29.7.0",
"dotenv-cli": "^7.4.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",
"husky": "^9.1.4",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"langchain": "^0.3",
"lerna": "^8.1.8",
"openai": "^4.58.0",
"openapi-typescript": "^7.3.0",
"prettier": "^3.3.2",
"rollup": "^4.24.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.2.4",
"ts-node": "^10.9.1",
"tslib": "^2.6.3",
"typescript": "^5.5.3",
"yalc": "^1.0.0-pre.53"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js,css,scss}": "prettier --write"
}
}