-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
79 lines (79 loc) · 2.13 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
{
"name": "test-opik-mcp",
"version": "0.0.1",
"description": "test opik mcp",
"type": "module",
"bin": {
"opik-mcp": "build/index.js"
},
"scripts": {
"build": "tsc && shx chmod +x build/*.js && shx cp -r client build/",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:transport": "node --experimental-vm-modules node_modules/jest/bin/jest.js --forceExit --detectOpenHandles tests/transports",
"api:build": "tsc",
"api:test": "node build/test-client.js",
"simple": "node build/simple-mcp.js",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"check": "npm run lint && npm run test",
"start": "node build/index.js",
"start:sse": "node build/cli.js serve --transport sse",
"start:stdio": "node build/cli.js serve --transport stdio",
"dev:sse": "tsc && node build/cli.js serve --transport sse"
},
"files": [
"build"
],
"author": "",
"license": "ISC",
"dependencies": {
"dotenv": "^16.4.5",
"yargs": "^17.7.2",
"zod": "^3.24.2"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@modelcontextprotocol/sdk": "^1.6.1",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.12",
"@types/node": "^22.13.9",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"cors": "^2.8.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"express": "^5.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"node-fetch": "^3.3.2",
"pre-commit": "^1.2.2",
"prettier": "^3.2.5",
"shx": "^0.3.4",
"ts-jest": "^29.1.2",
"typescript": "^5.8.2"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"extensionsToTreatAsEsm": [
".ts"
],
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
}
},
"pre-commit": [
"lint",
"test"
]
}