-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
219 lines (219 loc) · 7.3 KB
/
Copy pathpackage.json
File metadata and controls
219 lines (219 loc) · 7.3 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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
{
"name": "euparliamentmonitor",
"version": "1.0.30",
"type": "module",
"description": "European Parliament Intelligence Platform - Monitor political activity with systematic transparency",
"main": "scripts/index.js",
"types": "scripts/index.d.ts",
"exports": {
".": {
"import": "./scripts/index.js",
"types": "./scripts/index.d.ts"
},
"./types": {
"import": "./scripts/types/index.js",
"types": "./scripts/types/index.d.ts"
},
"./mcp/*": {
"import": "./scripts/mcp/*.js",
"types": "./scripts/mcp/*.d.ts"
},
"./constants/*": {
"import": "./scripts/constants/*.js",
"types": "./scripts/constants/*.d.ts"
},
"./utils/*": {
"import": "./scripts/utils/*.js",
"types": "./scripts/utils/*.d.ts"
},
"./templates/*": {
"import": "./scripts/templates/*.js",
"types": "./scripts/templates/*.d.ts"
},
"./generators/*": {
"import": "./scripts/generators/*.js",
"types": "./scripts/generators/*.d.ts"
},
"./workflows": {
"import": "./scripts/workflows/index.js",
"types": "./scripts/workflows/index.d.ts"
},
"./workflows/*": {
"import": "./scripts/workflows/*.js",
"types": "./scripts/workflows/*.d.ts"
}
},
"files": [
"scripts/**/*.js",
"scripts/**/*.d.ts",
"README.md",
"LICENSE",
"SECURITY.md"
],
"publishConfig": {
"access": "public",
"provenance": true,
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"prebuild": "node scripts/generators/build-info.js && node scripts/generators/news-indexes.js && node scripts/generators/sitemap.js",
"generate-build-info": "node scripts/generators/build-info.js",
"tsc:7": "node ./node_modules/typescript-7/bin/tsc",
"build": "npm run tsc:7",
"build:check": "npm run tsc:7 -- --noEmit",
"build:check-tests": "npm run tsc:7 -- --project tsconfig.test.json --noEmit",
"copy-vendor": "node scripts/copy-vendor.js",
"validate-analysis": "node scripts/validate-analysis-completeness.js",
"discover:untranslated-briefs": "node scripts/discover-untranslated-briefs.js",
"validate:translations": "node scripts/validate-brief-translations.js",
"validate:manifest-seo": "node scripts/validate-manifest-seo.js",
"validate:seo": "node scripts/validate-article-seo.js",
"sync:templates": "node scripts/templates/sync-template-frontmatter.js",
"sync:templates:check": "node scripts/templates/sync-template-frontmatter.js --check",
"prior-run-diff": "node scripts/aggregator/prior-run-diff.js",
"generate-article": "node scripts/aggregator/article-generator.js",
"generate-article:all": "node scripts/aggregator/article-generator.js --all",
"dump:article-seo": "node scripts/dump-article-seo.js",
"generate-news-indexes": "node scripts/generators/news-indexes.js",
"generate-sitemap": "node scripts/generators/sitemap.js",
"image:generate": "node scripts/generate-responsive-images.js",
"optimize-css": "node scripts/optimize-css.js",
"minify-assets": "node scripts/minify-assets.js",
"validate-ep-api": "npx tsx src/utils/validate-ep-api.ts",
"mcp:probe": "npx tsx src/utils/mcp-probe.ts",
"lint:prompts": "node scripts/lint-prompts.js",
"lint:src-todos": "node scripts/lint-src-todos.js",
"htmlhint": "sh -c 'htmlhint *.html; set -- news/*.html; if [ -e \"$1\" ]; then htmlhint \"$@\"; else echo \"No news/*.html files to lint\"; fi'",
"serve": "python3 -m http.server 8080",
"test": "vitest run",
"test:watch": "vitest watch",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"test:unit": "vitest run test/unit",
"test:integration": "vitest run test/integration",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:headed": "playwright test --headed",
"test:e2e:debug": "playwright test --debug",
"test:e2e:report": "playwright show-report",
"lint": "eslint src/ && node scripts/lint-src-todos.js",
"lint:fix": "eslint src/ --fix",
"knip": "knip",
"knip:production": "knip --production",
"knip:fix": "knip --fix",
"lint:report": "eslint src/ --format json --output-file builds/test-results/eslint-report.json",
"lint:report:html": "eslint src/ --format html --output-file builds/test-results/eslint-report.html",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"docs:api": "typedoc",
"docs:copy-reports": "node scripts/utils/copy-test-reports.js",
"docs:index": "node scripts/utils/generate-docs-index.js",
"docs:generate": "npm run docs:api && npm run docs:copy-reports && npm run docs:index",
"prepare": "husky",
"prepublishOnly": "npm run lint && npm run test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Hack23/euparliamentmonitor.git"
},
"sideEffects": false,
"keywords": [
"european-parliament",
"european-union",
"parliament",
"eu",
"mep",
"politics",
"democracy",
"civic-tech",
"osint",
"transparency",
"intelligence",
"political-analysis",
"legislative",
"voting",
"monitoring",
"news-generation",
"multilingual",
"i18n",
"mcp",
"model-context-protocol",
"open-data",
"typescript"
],
"funding": {
"type": "github",
"url": "https://github.com/sponsors/Hack23"
},
"author": "Hack23 AB",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/Hack23/euparliamentmonitor/issues"
},
"homepage": "https://euparliamentmonitor.com",
"devDependencies": {
"@axe-core/playwright": "4.12.1",
"@eslint/js": "10.0.1",
"@playwright/test": "1.61.1",
"@types/d3": "7.4.3",
"@types/markdown-it": "14.1.2",
"@types/node": "26.1.1",
"@types/papaparse": "5.5.2",
"@typescript-eslint/eslint-plugin": "8.63.0",
"@typescript-eslint/parser": "8.63.0",
"@vitest/coverage-v8": "4.1.10",
"@vitest/ui": "4.1.10",
"chart.js": "4.5.1",
"chartjs-plugin-annotation": "3.1.0",
"clean-css": "5.3.3",
"d3": "7.9.0",
"esbuild": "0.28.1",
"eslint": "10.7.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-jsdoc": "63.0.13",
"eslint-plugin-security": "4.0.1",
"eslint-plugin-sonarjs": "4.1.0",
"fast-check": "4.9.0",
"happy-dom": "20.10.6",
"html-minifier-terser": "7.2.0",
"htmlhint": "1.9.2",
"husky": "9.1.7",
"jscpd": "5.0.12",
"knip": "6.26.0",
"lint-staged": "17.0.8",
"mermaid": "11.16.0",
"papaparse": "5.5.4",
"prettier": "3.9.5",
"purgecss": "8.0.0",
"sharp": "0.35.3",
"terser": "5.49.0",
"ts-api-utils": "2.5.0",
"tsx": "4.23.1",
"typedoc": "0.28.20",
"typescript": "npm:@typescript/typescript6@6.0.2",
"typescript-7": "npm:typescript@7.0.1-rc",
"vitest": "4.1.10",
"yaml": "2.9.0"
},
"engines": {
"node": ">=26"
},
"dependencies": {
"european-parliament-mcp-server": "1.3.43",
"markdown-it": "14.3.0",
"markdown-it-anchor": "9.2.1",
"markdown-it-attrs": "5.0.0",
"markdown-it-deflist": "3.0.1",
"markdown-it-footnote": "4.0.0"
},
"optionalDependencies": {
"worldbank-mcp": "1.0.1"
},
"overrides": {
"flatted": "3.4.2",
"path-to-regexp": "8.4.2",
"ip-address": "10.2.0",
"uuid": "14.0.1",
"qs": "6.15.2"
}
}