-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
164 lines (164 loc) · 5.45 KB
/
package.json
File metadata and controls
164 lines (164 loc) · 5.45 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
{
"name": "euparliamentmonitor",
"version": "0.8.18",
"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"
},
"./generators/pipeline/*": {
"import": "./scripts/generators/pipeline/*.js",
"types": "./scripts/generators/pipeline/*.d.ts"
},
"./generators/strategies/*": {
"import": "./scripts/generators/strategies/*.js",
"types": "./scripts/generators/strategies/*.d.ts"
}
},
"files": [
"scripts/",
"README.md",
"LICENSE",
"SECURITY.md"
],
"publishConfig": {
"access": "public",
"provenance": true,
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"prebuild": "node scripts/generators/news-indexes.js && node scripts/generators/sitemap.js",
"build": "tsc",
"build:check": "tsc --noEmit",
"build:check-tests": "tsc --project tsconfig.test.json --noEmit",
"copy-vendor": "mkdir -p js/vendor && cp node_modules/chart.js/dist/chart.umd.min.js js/vendor/ && cp node_modules/chartjs-plugin-annotation/dist/chartjs-plugin-annotation.min.js js/vendor/ && cp node_modules/d3/dist/d3.min.js js/vendor/",
"generate-news": "node scripts/generators/news-enhanced.js",
"generate-news-indexes": "node scripts/generators/news-indexes.js",
"generate-sitemap": "node scripts/generators/sitemap.js",
"fix-articles": "npx tsx src/utils/fix-articles.ts",
"validate-articles": "npx tsx src/utils/validate-articles.ts",
"validate-articles:strict": "npx tsx src/utils/validate-articles.ts --strict",
"validate-ep-api": "npx tsx src/utils/validate-ep-api.ts",
"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/",
"lint:fix": "eslint src/ --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"
},
"keywords": [
"european-parliament",
"parliament",
"europe",
"politics",
"osint",
"transparency",
"intelligence",
"mcp",
"model-context-protocol",
"open-data",
"typescript"
],
"author": "Hack23 AB",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/Hack23/euparliamentmonitor/issues"
},
"homepage": "https://euparliamentmonitor.com",
"devDependencies": {
"@axe-core/playwright": "4.11.1",
"@eslint/js": "10.0.1",
"@playwright/test": "1.59.1",
"@types/d3": "7.4.3",
"@types/node": "25.5.2",
"@types/papaparse": "5.5.2",
"@typescript-eslint/eslint-plugin": "8.58.0",
"@typescript-eslint/parser": "8.58.0",
"@vitest/coverage-v8": "4.1.2",
"@vitest/ui": "4.1.2",
"chart.js": "4.5.1",
"chartjs-plugin-annotation": "3.1.0",
"d3": "7.9.0",
"eslint": "10.2.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-jsdoc": "62.9.0",
"eslint-plugin-security": "4.0.0",
"eslint-plugin-sonarjs": "4.0.2",
"happy-dom": "20.8.9",
"htmlhint": "1.9.2",
"husky": "9.1.7",
"jscpd": "4.0.8",
"lint-staged": "16.4.0",
"papaparse": "5.5.3",
"prettier": "3.8.1",
"ts-api-utils": "2.5.0",
"tsx": "4.21.0",
"typedoc": "0.28.18",
"typescript": "6.0.2",
"vitest": "4.1.2"
},
"engines": {
"node": ">=25"
},
"dependencies": {
"european-parliament-mcp-server": "1.1.24"
},
"optionalDependencies": {
"worldbank-mcp": "1.0.1"
},
"overrides": {
"flatted": ">=3.4.2",
"path-to-regexp": ">=8.4.0"
}
}