-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
199 lines (199 loc) · 7.18 KB
/
Copy pathpackage.json
File metadata and controls
199 lines (199 loc) · 7.18 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
195
196
197
198
199
{
"name": "european-parliament-mcp-server",
"version": "1.3.43",
"description": "Model Context Protocol server for European Parliament open data",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./config": {
"types": "./dist/config.d.ts",
"import": "./dist/config.js"
},
"./types/*": {
"types": "./dist/types/*.d.ts",
"import": "./dist/types/*.js"
},
"./schemas/*": {
"types": "./dist/schemas/*.d.ts",
"import": "./dist/schemas/*.js"
},
"./tools/*": {
"types": "./dist/tools/*.d.ts",
"import": "./dist/tools/*.js"
},
"./clients/*": {
"types": "./dist/clients/*.d.ts",
"import": "./dist/clients/*.js"
},
"./server/*": {
"types": "./dist/server/*.d.ts",
"import": "./dist/server/*.js"
},
"./services/*": {
"types": "./dist/services/*.d.ts",
"import": "./dist/services/*.js"
},
"./prompts/*": {
"types": "./dist/prompts/*.d.ts",
"import": "./dist/prompts/*.js"
},
"./resources/*": {
"types": "./dist/resources/*.d.ts",
"import": "./dist/resources/*.js"
},
"./utils/*": {
"types": "./dist/utils/*.d.ts",
"import": "./dist/utils/*.js"
},
"./di/*": {
"types": "./dist/di/*.d.ts",
"import": "./dist/di/*.js"
},
"./data/*": {
"types": "./dist/data/*.d.ts",
"import": "./dist/data/*.js"
},
"./generated/*": {
"types": "./dist/generated/*.d.ts",
"import": "./dist/generated/*.js"
}
},
"bin": {
"european-parliament-mcp-server": "dist/main.js"
},
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "node ./node_modules/typescript-7/bin/tsc",
"start": "node dist/index.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"src/**/*.ts\"",
"generate:api-types": "npm exec --yes openapi-typescript@7.13.0 -- docs/ep-openapi-spec.json -o src/generated/ep-api-types.ts",
"type-check": "node ./node_modules/typescript-7/bin/tsc --noEmit",
"type-check:helpers": "node ./node_modules/typescript-7/bin/tsc --noEmit --project tsconfig.tests.json",
"test": "vitest",
"test:unit": "vitest run src",
"test:integration": "vitest run tests/integration",
"test:osint:snapshots": "vitest run tests/integration/osint/snapshots.test.ts",
"test:e2e": "vitest run --config vitest.e2e.config.ts",
"test:performance": "vitest run tests/performance",
"test:all": "npm run test:unit && npm run test:integration && npm run test:e2e && npm run test:performance",
"test:coverage": "vitest run src --coverage",
"test:ci": "vitest run --coverage --reporter=junit --reporter=json --outputFile=coverage/junit.xml",
"test:licenses": "license-compliance --direct --allow 'MIT;ISC;0BSD;BSD-2-Clause;BSD-3-Clause;Apache-2.0;Unlicense;CC0-1.0;BlueOak-1.0.0'",
"test:mutation": "stryker run",
"test:mutation:ci": "stryker run --concurrency 4 --logLevel info",
"knip": "knip",
"clean": "rm -rf dist coverage builds",
"verify-package": "npm run build && npx tsx scripts/verify-package.ts",
"test-mcp": "npx tsx scripts/test-mcp-server.ts",
"generate:stats": "npx tsx scripts/generate-stats.ts",
"generate:stats:all": "npx tsx scripts/generate-stats.ts --all",
"generate:stats:update": "npx tsx scripts/generate-stats.ts --update",
"generate:weekly-cache": "npx tsx scripts/generate-weekly-cache.ts",
"generate:weekly-cache:meps": "npx tsx scripts/generate-weekly-cache.ts --dataset meps",
"generate:weekly-cache:corporate-bodies": "npx tsx scripts/generate-weekly-cache.ts --dataset corporate-bodies",
"generate:weekly-cache:vocabularies": "npx tsx scripts/generate-weekly-cache.ts --dataset controlled-vocabularies",
"prepublishOnly": "npm run lint && npm run knip && npm run test:unit && npm run build",
"prepack": "npm run build",
"docs": "typedoc",
"docs:md": "typedoc --options typedoc-markdown.json",
"docs:clean": "rm -rf docs/api docs/api-markdown docs/coverage docs/test-results docs/e2e-results builds",
"docs:coverage": "npm run test:coverage && mkdir -p docs/coverage && cp -r coverage/* docs/coverage/",
"docs:test-reports": "mkdir -p builds/test-results docs/test-results; vitest run src --reporter=default --reporter=html --reporter=json --outputFile.html=./builds/test-results/index.html --outputFile.json=./builds/test-results/results.json || true; cp -r builds/test-results/* docs/test-results/ 2>/dev/null || true",
"docs:e2e-reports": "mkdir -p builds/e2e-results docs/e2e-results; vitest run tests/e2e --reporter=default --reporter=html --reporter=json --outputFile.html=./builds/e2e-results/index.html --outputFile.json=./builds/e2e-results/results.json || true; cp -r builds/e2e-results/* docs/e2e-results/ 2>/dev/null || true",
"docs:build": "npm run docs:clean && npm run docs && npm run docs:md && npm run docs:coverage && npm run docs:test-reports && npm run docs:e2e-reports",
"docs:sitemap": "npx tsx scripts/generate-sitemap.ts",
"warmup:lifecycle": "npx tsx scripts/warmup-lifecycle.ts"
},
"keywords": [
"mcp",
"mcp-server",
"model-context-protocol",
"european-parliament",
"open-data",
"api",
"typescript",
"eu-parliament",
"mep",
"legislative",
"osint",
"political-intelligence",
"ai-tools",
"llm",
"claude",
"parliament",
"democracy",
"civic-tech",
"voting-analysis",
"eu"
],
"author": "Hack23 AB",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/Hack23/European-Parliament-MCP-Server.git"
},
"bugs": {
"url": "https://github.com/Hack23/European-Parliament-MCP-Server/issues"
},
"homepage": "https://github.com/Hack23/European-Parliament-MCP-Server#readme",
"publishConfig": {
"access": "public",
"provenance": true,
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist",
"README.md",
"LICENSE.md",
"SECURITY.md",
"CHANGELOG.md"
],
"engines": {
"node": ">=26.0.0",
"npm": ">=10.0.0"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.29.0",
"lru-cache": "11.5.2",
"undici": "8.7.0",
"zod": "4.4.3"
},
"overrides": {
"vite": "8.1.1",
"joi": "17.13.4",
"undici": "8.7.0",
"qs": "6.15.3"
},
"devDependencies": {
"@stryker-mutator/core": "9.6.1",
"@stryker-mutator/vitest-runner": "9.6.1",
"@types/jsdom": "28.0.3",
"@types/node": "26.1.1",
"@typescript-eslint/eslint-plugin": "8.64.0",
"@typescript-eslint/parser": "8.64.0",
"@vitest/coverage-v8": "4.1.10",
"@vitest/ui": "4.1.10",
"eslint": "10.7.0",
"globals": "17.7.0",
"jsdom": "29.1.1",
"knip": "6.27.0",
"license-compliance": "3.0.1",
"prettier": "3.9.5",
"tsx": "4.23.1",
"typedoc": "0.28.20",
"typedoc-plugin-markdown": "4.12.0",
"typedoc-plugin-mdn-links": "5.1.1",
"typedoc-plugin-zod": "1.4.3",
"typescript": "npm:@typescript/typescript6@6.0.2",
"typescript-7": "npm:typescript@7.0.1-rc",
"typescript-eslint": "8.64.0",
"vitest": "4.1.10"
}
}