forked from dipseth/dataproc-mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
194 lines (194 loc) · 10.7 KB
/
package.json
File metadata and controls
194 lines (194 loc) · 10.7 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"name": "@dipseth/dataproc-mcp-server",
"version": "4.7.0",
"description": "A production-ready Model Context Protocol (MCP) server for Google Cloud Dataproc operations. Provides intelligent defaults, comprehensive tooling, and seamless integration with Roo (VS Code) for big data workflows.",
"type": "module",
"keywords": "[\"mcp\", \"dataproc\", \"google-cloud\", \"model-context-protocol\", \"typescript\", \"nodejs\"]",
"author": {
"name": "dipseth",
"url": "https://github.com/dipseth"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/dipseth/dataproc-mcp.git"
},
"homepage": "https://dipseth.github.io/dataproc-mcp/",
"bugs": {
"url": "https://github.com/dipseth/dataproc-mcp/issues"
},
"engines": {
"node": ">=18.0.0"
},
"bin": {
"dataproc-server": "./build/index.js",
"dataproc-mcp": "./build/index.js"
},
"main": "build/index.js",
"types": "build/index.d.ts",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"files": [
"build",
"profiles",
"config",
"docs",
"templates",
"scripts",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"scripts": {
"build": "tsc && node -e \"import('fs').then(fs => fs.chmodSync('build/index.js', '755'))\"",
"prepare": "npm run build",
"watch": "tsc --watch",
"start": "node build/index.js",
"stop": "node scripts/stop-server.js",
"restart": "npm run stop && npm run start",
"setup": "node scripts/setup.js",
"ssl:generate": "node scripts/generate-ssl-cert.js",
"ssl:test": "node scripts/test-trusted-certificates.js",
"validate": "node scripts/validate-config.js",
"validate:examples": "node scripts/validate-examples.js",
"docs:generate": "node scripts/generate-docs.js",
"docs:update": "node scripts/update-docs.js",
"docs:test-links": "node scripts/test-doc-links.js",
"inspector": "npx @modelcontextprotocol/inspector build/index.js",
"test": "npm run test:all:organized",
"test:unit": "npm run test:unit:fast",
"test:unit:fast": "mocha 'tests/unit/**/*.js' --exit",
"test:manual": "NODE_OPTIONS='--loader ts-node/esm' mocha 'tests/manual/**/*.ts' --timeout 60000 --exit",
"test:integration": "npm run test:templating:integration && npm run test:qdrant:integration && npm run test:knowledge:integration",
"test:auth": "node tests/manual/auth-methods.test.ts",
"test:e2e": "npm run test:system:e2e",
"test:performance": "npm run test:templating:performance && npm run test:knowledge:performance",
"test:real-agent": "scripts/test-real-agent-usage.sh",
"test:query-results": "node tests/manual/run-query-results-tests.ts",
"test:query-results:basic": "TEST_SUITE=basic node tests/manual/run-query-results-tests.ts",
"test:query-results:comprehensive": "TEST_SUITE=comprehensive node tests/manual/run-query-results-tests.ts",
"test:query-results:scenarios": "TEST_SUITE=scenarios node tests/manual/run-query-results-tests.ts",
"test:response-optimization": "npx tsx tests/manual/test-response-optimization.ts",
"test:mcp": "npm run test:mcp:resources && npm run test:mcp:integration",
"test:mcp:resources": "NODE_OPTIONS='--loader ts-node/esm' mocha 'tests/manual/test-mcp-resources.ts' --timeout 30000 --exit",
"test:mcp:integration": "node tests/manual/test-mcp-resources-simple.ts",
"test:mcp:server": "bash tests/manual/test-mcp-server.sh",
"test:knowledge": "npm run test:knowledge:unit && npm run test:knowledge:integration",
"test:semantic": "npx tsx tests/manual/test-response-optimization.ts",
"test:templating": "npm run test:templating:unit && npm run test:templating:integration",
"test:templating:unit": "NODE_OPTIONS='--loader ts-node/esm' mocha 'tests/templating/unit/**/*.ts' --timeout 30000 --exit",
"test:templating:integration": "NODE_OPTIONS='--loader ts-node/esm' mocha 'tests/templating/integration/**/*.{ts,js}' --timeout 60000 --exit",
"test:templating:performance": "NODE_OPTIONS='--loader ts-node/esm' mocha 'tests/templating/performance/**/*.js' --timeout 120000 --exit",
"test:templating:safe": "node scripts/run-tests-safe.js test:templating",
"test:qdrant:safe": "node scripts/run-tests-safe.js test:qdrant",
"test:knowledge:safe": "node scripts/run-tests-safe.js test:knowledge",
"test:qdrant": "npm run test:qdrant:unit && npm run test:qdrant:integration",
"test:qdrant:unit": "NODE_OPTIONS='--loader ts-node/esm' mocha 'tests/qdrant/unit/**/*.ts' --timeout 30000 --exit",
"test:qdrant:integration": "NODE_OPTIONS='--loader ts-node/esm' mocha 'tests/qdrant/integration/**/*.{ts,js}' --timeout 60000 --exit",
"test:knowledge:unit": "NODE_OPTIONS='--loader ts-node/esm' mocha 'tests/knowledge/unit/**/*.ts' --timeout 30000 --exit",
"test:knowledge:integration": "NODE_OPTIONS='--loader ts-node/esm' mocha 'tests/knowledge/integration/**/*.{ts,js}' --timeout 60000 --exit",
"test:knowledge:performance": "NODE_OPTIONS='--loader ts-node/esm' mocha 'tests/knowledge/performance/**/*.ts' --timeout 120000 --exit",
"test:system": "echo '⚠️ System tests temporarily disabled - moved to old-tests/system'",
"test:system:validation": "echo '⚠️ System validation tests temporarily disabled - moved to old-tests/system'",
"test:system:e2e": "echo '⚠️ System e2e tests temporarily disabled - moved to old-tests/system'",
"test:system:benchmark": "echo '⚠️ System benchmark tests temporarily disabled - moved to old-tests/system'",
"test:system:real-agent": "echo '⚠️ System real-agent tests temporarily disabled - moved to old-tests/system'",
"test:integration:full": "npm run test:auth && npm run test:system:e2e && npm run test:mcp && npm run test:query-results",
"test:integration:quick": "npm run test:mcp:integration",
"test:all:organized": "npm run test:ci:safe",
"test:ci:safe": "echo 'Running CI-safe tests...' && npm run test:templating:safe || echo 'Templating tests completed' && npm run test:qdrant:safe || echo 'Qdrant tests completed' && npm run test:knowledge:safe || echo 'Knowledge tests completed'",
"test:setup": "npm run build && npm run test:cleanup",
"test:cleanup": "rm -f test-*.log && rm -f *.test.json",
"test:all": "npm run test:setup && npm run test:unit && npm run test:all:organized",
"test:benchmark": "npm run test:templating:performance && npm run test:knowledge:performance",
"test:coverage": "nyc npm test",
"test:coverage:check": "nyc check-coverage --lines 90 --functions 90 --branches 90 --statements 90",
"test:watch": "mocha --require ts-node/register 'tests/**/*.ts' --watch",
"lint": "npx eslint src/**/*.ts",
"lint:check": "npx eslint src/**/*.ts",
"lint:fix": "npx eslint src/**/*.ts --fix",
"format": "npx prettier --write \"src/**/*.{ts,js,json}\"",
"format:check": "npx prettier --check \"src/**/*.{ts,js,json}\"",
"type-check": "tsc --noEmit",
"security:audit": "npm audit",
"security:check": "npm audit --audit-level moderate",
"postinstall": "node scripts/postinstall.js",
"prepublishOnly": "npm run build && npm run test && npm run lint:check && npm run type-check && npm run validate-package",
"prepare-release": "node scripts/prepare-release.js",
"release": "semantic-release",
"release:dry": "semantic-release --dry-run",
"release:beta": "semantic-release --branches develop",
"version:patch": "npm version patch --no-git-tag-version",
"version:minor": "npm version minor --no-git-tag-version",
"version:major": "npm version major --no-git-tag-version",
"publish:dry-run": "npm publish --dry-run",
"publish:beta": "npm publish --tag beta",
"publish:latest": "npm publish --tag latest",
"validate-package": "npm pack --dry-run && npm audit --audit-level moderate",
"build:clean": "npm run clean && npm run build",
"build:standalone": "npm run build && node scripts/build-standalone.js",
"build:docs": "npm run docs:api && npm run docs:build",
"build:templates": "node scripts/build-templates.js",
"docs:api": "typedoc --out docs/api src/index.ts --theme default --readme README.md --exclude '**/*.test.ts' --exclude '**/node_modules/**'",
"docs:build": "bundle exec jekyll build --source docs --destination docs/_site",
"docs:serve": "bundle exec jekyll serve --source docs --destination docs/_site --port 4000",
"docs:clean": "rm -rf docs/_site",
"changelog:extract": "node scripts/extract-changelog.js",
"clean": "rm -rf build",
"pre-flight": "node scripts/pre-flight-check.js",
"ci-cd:validate": "npm run pre-flight && npm run prepare-release",
"pre-push": "npm run build && npm run lint:check && npm run format:check && npm run type-check && npm run test:all:organized && npm run security:check && npm run validate-package && npm run docs:test-links && npm run release:dry && echo '🎉 All checks passed! Ready to push.'",
"pre-push-full": "npm run build && npm run lint:check && npm run format:check && npm run type-check && npm run test:unit:fast && npm run test:templating && npm run test:knowledge && npm run test:system:validation && npm run security:check && npm run validate-package && npm run docs:test-links && echo '🎉 All checks passed! Ready to push.'"
},
"dependencies": {
"@google-cloud/dataproc": "^6.0.1",
"@google-cloud/iam-credentials": "^4.0.1",
"@google-cloud/storage": "^7.16.0",
"@huggingface/transformers": "^3.5.2",
"@modelcontextprotocol/sdk": "^1.12.3",
"@qdrant/js-client-rest": "^1.8.2",
"@types/uri-templates": "^0.1.34",
"@types/ws": "^8.18.1",
"axios": "^1.10.0",
"google-auth-library": "^9.14.2",
"js-yaml": "^4.1.0",
"node-fetch": "^3.3.2",
"table": "^6.9.0",
"uri-templates": "^0.2.0",
"ws": "^8.18.2",
"zod": "^3.22.5"
},
"devDependencies": {
"@eslint/js": "^9.27.0",
"@jest/globals": "^29.7.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.2.6",
"@semantic-release/npm": "^11.0.3",
"@types/chai": "^5.2.2",
"@types/jest": "^29.5.14",
"@types/js-yaml": "^4.0.9",
"@types/long": "^5.0.0",
"@types/mocha": "^10.0.10",
"@types/node": "^20.17.58",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"chai": "^5.2.0",
"codecov": "^3.8.3",
"conventional-changelog-conventionalcommits": "^7.0.2",
"eslint": "^8.0.1",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"mocha": "^11.2.2",
"nyc": "^15.1.0",
"prettier": "^3.0.3",
"semantic-release": "^22.0.12",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"typedoc": "^0.25.13",
"typescript": "^5.3.3"
}
}