-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
59 lines (59 loc) · 2.23 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
{
"name": "mcp-summarization-functions",
"version": "0.1.5",
"description": "Provides summarised output from various actions that could otherwise eat up tokens and cause crashes",
"type": "module",
"main": "build/index.js",
"bin": {
"mcp-summarization-functions": "build/index.js"
},
"engines": {
"node": ">=22.0.0"
},
"scripts": {
"preinstall": "node -e \"if (process.versions.node < '22.0.0') { console.error('Requires Node.js 22 or higher. Current version: ' + process.versions.node); process.exit(1); }\"",
"build": "tsc",
"postbuild": "node -e \"if (process.platform !== 'win32') { const fs = require('fs'); const path = require('path'); function chmodRecursive(dir) { fs.readdirSync(dir, { withFileTypes: true }).forEach(dirent => { const fullPath = path.join(dir, dirent.name); if (dirent.isDirectory()) { chmodRecursive(fullPath); } else if (dirent.name.endsWith('.js')) { console.log('Setting chmod 755 on:', fullPath); fs.chmodSync(fullPath, '755'); } }); } chmodRecursive('build'); }\"",
"start": "node build/index.js",
"watch": "tsc -w",
"test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest",
"test:watch": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --watch",
"test:coverage": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --coverage",
"test:ci": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --ci --coverage --maxWorkers=2"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.35.0",
"@modelcontextprotocol/sdk": "^1.0.3",
"dotenv": "^16.4.7",
"execa": "^9.5.2",
"isomorphic-fetch":"^3.0.0",
"uuid": "^11.0.3"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^20.0.0",
"@types/uuid": "^9.0.0",
"@types/isomorphic-fetch": "^0.0.39",
"node-fetch": "^3.3.2",
"jest": "^29.7.0",
"ts-jest": "^29.2.5",
"typescript": "^5.7.2"
},
"files": [
"build/**/*"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Braffolk/MCP-summarization-functions.git"
},
"keywords": [
"mcp",
"summarization",
"model-context-protocol"
],
"author": "Remi Sebastian Kits",
"license": "MIT"
}