-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathpackage.json
More file actions
211 lines (211 loc) · 10.3 KB
/
package.json
File metadata and controls
211 lines (211 loc) · 10.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
{
"name": "monitoring-plugin",
"version": "1.0.0",
"private": true,
"repository": "git@github.com:openshift/monitoring-plugin.git",
"scripts": {
"build": "npm run clean && NODE_ENV=production npm run ts-node node_modules/.bin/webpack",
"build:dev": "npm run clean && npm run ts-node node_modules/.bin/webpack",
"build:standalone": "npm run clean && npm run ts-node node_modules/.bin/webpack --config webpack.standalone.config.ts",
"clean": "rm -rf dist",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:run:ci": "NO_COLOR=1 npx cypress run --browser chrome",
"delete:reports": "rm -rf gui_test_screenshots/* || true",
"i18n": "i18n-scripts/build-i18n.sh && node i18n-scripts/set-english-defaults.js",
"i18n-to-po": "node ./i18n-scripts/i18n-to-po.js",
"po-to-i18n": "node ./i18n-scripts/po-to-i18n.js",
"lint": "eslint ./src",
"lint:tsc": "tsc --noEmit",
"lint-fix": "eslint ./src --fix",
"pre-commit:check": "npm run lint",
"prepare": "cd .. && husky install web/.husky",
"start": "npm run ts-node node_modules/.bin/webpack serve --stats-error-details",
"dev": "npm run ts-node node_modules/.bin/webpack serve --stats-error-details",
"start:standalone": "npm run ts-node node_modules/.bin/webpack serve --stats-error-details --config webpack.standalone.config.ts",
"start-console": "../scripts/start-console.sh",
"test:unit": "TZ=UTC jest --config jest.config.js --passWithNoTests",
"test": "npm run cypress:run:ci",
"test-cypress-console": "./node_modules/.bin/cypress open --browser chrome",
"test-cypress-console-headless": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless",
"test-cypress-monitoring": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@monitoring --@flaky --@demo'",
"test-cypress-monitoring-dev": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@monitoring-dev --@demo'",
"test-cypress-monitoring-bvt": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@monitoring+@smoke --@demo'",
"test-cypress-monitoring-regression": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@monitoring --@smoke --@flaky --@demo'",
"test-cypress-alerts": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@alerts --@flaky --@demo'",
"test-cypress-metrics": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@metrics --@flaky --@demo'",
"test-cypress-dashboards": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@dashboards --@flaky --@demo'",
"test-cypress-coo": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@coo --@flaky --@demo'",
"test-cypress-coo-bvt": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@coo+@smoke --@demo'",
"test-cypress-virtualization": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@virtualization --@flaky --@demo'",
"test-cypress-incidents": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@incidents --@flaky --@demo'",
"test-cypress-smoke": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@smoke --@flaky --@demo'",
"test-cypress-fast": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@smoke --@slow --@demo --@flaky'",
"test-cypress-perses-dev": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@perses-dev --@demo'",
"test-cypress-perses": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --browser chrome --headless --env grepTags='@perses --@smoke --@flaky --@demo'",
"ts-node": "ts-node -O '{\"module\":\"commonjs\"}'"
},
"dependencies": {
"@codemirror/autocomplete": "^6.0.4",
"@codemirror/commands": "^6.0.1",
"@codemirror/language": "^6.2.0",
"@codemirror/lint": "^6.0.0",
"@codemirror/search": "^6.0.0",
"@codemirror/state": "^6.1.0",
"@codemirror/view": "^6.0.3",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@hookform/resolvers": "^3.10.0",
"@lezer/common": "^1.0.0",
"@lezer/highlight": "^1.0.0",
"@lezer/lr": "^1.0.0",
"@mui/material": "^6.1.10",
"@openshift-console/dynamic-plugin-sdk": "^4.19.0",
"@openshift-console/dynamic-plugin-sdk-internal": "^4.19.0-prerelease.2",
"@openshift-console/dynamic-plugin-sdk-webpack": "^4.19.0",
"@patternfly/react-charts": "^8.2.0",
"@patternfly/react-core": "^6.2.0",
"@patternfly/react-data-view": "^6.1.0",
"@patternfly/react-icons": "^6.2.0",
"@patternfly/react-table": "^6.2.0",
"@patternfly/react-templates": "^6.2.0",
"@perses-dev/bar-chart-plugin": "^0.9.0",
"@perses-dev/components": "^0.52.0",
"@perses-dev/core": "^0.52.0",
"@perses-dev/dashboards": "^0.52.0",
"@perses-dev/datasource-variable-plugin": "^0.3.2",
"@perses-dev/explore": "^0.52.0",
"@perses-dev/flame-chart-plugin": "^0.3.0",
"@perses-dev/gauge-chart-plugin": "^0.9.0",
"@perses-dev/heatmap-chart-plugin": "^0.2.1",
"@perses-dev/histogram-chart-plugin": "^0.9.0",
"@perses-dev/loki-plugin": "^0.1.1",
"@perses-dev/markdown-plugin": "^0.9.0",
"@perses-dev/pie-chart-plugin": "^0.9.0",
"@perses-dev/plugin-system": "^0.52.0",
"@perses-dev/prometheus-plugin": "^0.53.3",
"@perses-dev/pyroscope-plugin": "^0.3.1",
"@perses-dev/scatter-chart-plugin": "^0.8.0",
"@perses-dev/stat-chart-plugin": "^0.9.0",
"@perses-dev/static-list-variable-plugin": "^0.5.1",
"@perses-dev/status-history-chart-plugin": "^0.9.0",
"@perses-dev/table-plugin": "^0.8.0",
"@perses-dev/tempo-plugin": "^0.53.1",
"@perses-dev/timeseries-chart-plugin": "^0.10.1",
"@perses-dev/timeseries-table-plugin": "^0.9.0",
"@perses-dev/trace-table-plugin": "^0.8.1",
"@perses-dev/tracing-gantt-chart-plugin": "^0.9.2",
"@prometheus-io/codemirror-promql": "^0.37.0",
"@tanstack/react-query": "^4.36.1",
"@types/ajv": "^0.0.5",
"@types/js-yaml": "^4.0.9",
"ajv": "^8.17.1",
"classnames": "2.x",
"fuzzysearch": "1.0.x",
"i18next": "^21.8.14",
"i18next-http-backend": "^2.2.0",
"immer": "^10.1.3",
"immutable": "3.x",
"js-yaml": "^4.1.0",
"lodash-es": "^4.17.21",
"lru-cache": "^6.0.0",
"murmurhash-js": "1.0.x",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-i18next": "^11.8.11",
"react-linkify": "^0.2.2",
"react-modal": "^3.12.1",
"react-redux": "7.2.9",
"react-router-dom-v5-compat": "^6.30.0",
"redux": "4.0.1",
"use-query-params": "^2.2.1",
"victory": "^37.3.6"
},
"devDependencies": {
"@cypress/grep": "^4.1.0",
"@cypress/webpack-preprocessor": "^6.0.2",
"@date-fns/tz": "^1.4.1",
"@swc/core": "^1.15.3",
"@swc/helpers": "^0.5.17",
"@types/classnames": "^2.2.7",
"@types/jest": "^30.0.0",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.17.2",
"@types/react": "17.0.83",
"@types/react-router-dom": "^5.3.2",
"@types/webpack-dev-server": "^4.7.2",
"@typescript-eslint/eslint-plugin": "^8.39.1",
"@typescript-eslint/parser": "^8.39.1",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"csstype": "^3.1.3",
"cypress": "^14.2.1",
"cypress-multi-reporters": "^1.4.0",
"cypress-wait-until": "^3.0.2",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.6.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.0",
"i18next-conv": "^16.0.0",
"i18next-parser": "^9.3.0",
"jest": "^30.2.0",
"junit-report-merger": "^7.0.1",
"mocha-junit-reporter": "^1.23.3",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.1.0",
"mochawesome-report-generator": "^6.2.0",
"pluralize": "^8.0.0",
"prettier": "^2.6.0",
"sass": "^1.42.1",
"sass-loader": "^10.1.1",
"style-loader": "^3.3.1",
"swc-loader": "^0.2.6",
"ts-jest": "^29.4.4",
"ts-loader": "^9.2.8",
"ts-node": "^10.7.0",
"typescript": "^5.9.2",
"webpack": "^5.94.0",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.2"
},
"peerDependencies": {
"react-router-dom": "<7"
},
"overrides": {
"echarts": "^5.6.0",
"qs": "^6.14.1",
"axios": "1.13.5"
},
"consolePlugin": {
"name": "monitoring-plugin",
"version": "1.0.0",
"displayName": "OpenShift console monitoring plugin",
"description": "This plugin adds the monitoring UI to the OpenShift web console",
"exposedModules": {
"DashboardsPage": "./components/dashboards/perses/dashboard-page",
"LegacyDashboardsPage": "./components/dashboards/legacy/legacy-dashboard-page",
"SilencesPage": "./components/alerting/SilencesPage",
"SilencesDetailsPage": "./components/alerting/SilencesDetailsPage",
"SilenceCreatePage": "./components/alerting/SilenceCreatePage",
"SilenceEditPage": "./components/alerting/SilenceEditPage",
"MetricsPage": "./components/MetricsPage",
"AlertsPage": "./components/alerting/AlertsPage",
"AlertingPage": "./components/alerting/AlertingPage",
"AlertsDetailsPage": "./components/alerting/AlertsDetailsPage",
"AlertRulesPage": "./components/alerting/AlertRulesPage",
"AlertRulesDetailsPage": "./components/alerting/AlertRulesDetailsPage",
"MonitoringReducer": "./store/reducers",
"IncidentsPage": "./components/Incidents/IncidentsPage",
"TargetsPage": "./components/targets-page",
"PrometheusRedirectPage": "./components/redirects/prometheus-redirect-page",
"DevRedirects": "./components/redirects/dev-redirects",
"MonitoringContext": "./contexts/MonitoringContext"
},
"dependencies": {
"@console/pluginAPI": "*"
}
}
}