-
Notifications
You must be signed in to change notification settings - Fork 151
/
package.json
208 lines (208 loc) · 8.57 KB
/
package.json
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
{
"name": "odh-dashboard-frontend",
"version": "0.1.0",
"description": "Frontend for ODH dashboard.",
"author": "",
"license": "ISC",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/opendatahub-io/odh-dashboard.git"
},
"homepage": "https://github.com/opendatahub-io/odh-dashboard#readme",
"bugs": {
"url": "https://github.com/opendatahub-io/odh-dashboard/issues"
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "run-s build:prod",
"build:analyze": "run-s build build:bundle-profile build:bundle-analyze",
"build:bundle-profile": "_ODH_OUTPUT_ONLY=true webpack --config ./config/webpack.prod.js --profile --json > ./bundle.stats.json",
"build:bundle-analyze": "webpack-bundle-analyzer ./bundle.stats.json",
"build:clean": "rimraf ./public",
"build:prod": "webpack --config ./config/webpack.prod.js",
"format": "prettier --write \"./**/*.ts\" \"./**/*.tsx\" \"./**/*.scss\"",
"lint:goal": "eslint --config ./.eslintrc.goal.js --ext .json,.js,.ts,.jsx,.tsx ./src ",
"start:dev": "webpack serve --hot --color --config ./config/webpack.dev.js",
"start:dev:ext": "EXT_CLUSTER=true npm run start:dev",
"test": "run-s test:lint test:type-check test:unit test:cypress-ci",
"test:coverage": "run-s test:lint test:type-check test:jest:coverage test:cypress-ci:coverage coverage:merge",
"test:fix": "eslint --ext .js,.ts,.jsx,.tsx ./src --fix",
"test:lint": "eslint --max-warnings 0 --ext .js,.ts,.jsx,.tsx ./src",
"test:type-check": "tsc --noEmit",
"test:jest": "jest",
"test:jest:coverage": "rimraf jest-coverage && jest --silent --coverage --coverageReporters=json --coverageReporters=lcov",
"test:unit": "npm run test:jest -- --silent",
"test:cypress-ci": "npx concurrently -P -k -s first \"npm run cypress:server:build && npm run cypress:server\" \"npx wait-on tcp:127.0.0.1:9001 && npm run cypress:run:mock -- {@}\" -- ",
"test:cypress-ci:coverage": "npx concurrently -P -k -s first \"npm run cypress:server:build:coverage && npm run cypress:server\" \"npx wait-on tcp:127.0.0.1:9001 && npm run cypress:run:mock:coverage\"",
"coverage:merge": "rimraf coverage && istanbul-merge --out coverage/coverage-final.json jest-coverage/coverage-final.json src/__tests__/cypress/coverage/coverage-final.json && nyc report --reporter html -t coverage --report-dir coverage/report && nyc report --reporter json-summary -t coverage --report-dir coverage",
"cypress:open": "cypress open --project src/__tests__/cypress",
"cypress:run": "cypress run -b chrome --project src/__tests__/cypress",
"cypress:open:mock": "CY_MOCK=1 CY_WS_PORT=9002 npm run cypress:open -- ",
"cypress:run:mock": "CY_MOCK=1 CY_WS_PORT=9002 npm run cypress:run -- ",
"cypress:run:mock:coverage": "rimraf src/__tests__/cypress/coverage src/__tests__/cypress/.nyc_output && CY_COVERAGE=true npm run cypress:run:mock",
"cypress:open:record": "CY_RECORD=1 npm run cypress:open",
"cypress:run:record": "CY_RECORD=1 npm run cypress:run && npm run cypress:format",
"cypress:server:build": "ODH_DIST_DIR=./public-cypress POLL_INTERVAL=9999999 FAST_POLL_INTERVAL=9999999 WS_HOSTNAME=localhost:9002 npm run build",
"cypress:server:build:coverage": "COVERAGE=true npm run cypress:server:build",
"cypress:server": "serve ./public-cypress -p 9001 -s -L",
"cypress:server:dev": "POLL_INTERVAL=9999999 FAST_POLL_INTERVAL=9999999 ODH_PORT=9001 WS_HOSTNAME=localhost:9002 npm run start:dev",
"cypress:format": "prettier --write src/__tests__/**/*.snap.json"
},
"dependencies": {
"@monaco-editor/react": "^4.6.0",
"@openshift/dynamic-plugin-sdk": "^4.0.0",
"@openshift/dynamic-plugin-sdk-utils": "^4.0.1",
"@patternfly/patternfly": "^5.4.0",
"@patternfly/quickstarts": "^5.3.0",
"@patternfly/react-catalog-view-extension": "^5.0.0",
"@patternfly/react-charts": "^7.4.0",
"@patternfly/react-code-editor": "^5.4.0",
"@patternfly/react-core": "^5.4.0",
"@patternfly/react-drag-drop": "^5.4.0",
"@patternfly/react-icons": "^5.4.0",
"@patternfly/react-log-viewer": "^5.3.0",
"@patternfly/react-styles": "^5.4.0",
"@patternfly/react-table": "^5.4.0",
"@patternfly/react-templates": "^1.1.0",
"@patternfly/react-tokens": "^5.4.0",
"@patternfly/react-topology": "^5.4.0",
"@patternfly/react-virtualized-extension": "^5.1.0",
"@segment/analytics-next": "^1.72.0",
"@types/classnames": "^2.3.1",
"axios": "^1.6.4",
"classnames": "^2.2.6",
"compare-versions": "^3.6.0",
"dompurify": "^2.2.6",
"google-protobuf": "^3.11.2",
"grpc-web": "^1.2.1",
"lodash-es": "^4.17.15",
"long": "^5.2.3",
"monaco-editor": "^0.50.0",
"monaco-editor-webpack-plugin": "^7.1.0",
"react": "^18.2.0",
"react-cool-dimensions": "^2.0.5",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"react-redux": "^8.0.4",
"react-router": "^6.4.1",
"react-router-dom": "^6.4.1",
"redux": "^4.2.0",
"redux-thunk": "^2.4.1",
"sass": "^1.56.2",
"showdown": "^2.1.0",
"yaml": "^2.2.2"
},
"devDependencies": {
"@babel/core": "^7.21.0",
"@types/dompurify": "^2.2.6",
"@types/google-protobuf": "^3.7.2",
"@types/js-yaml": "^4.0.6",
"@types/lodash-es": "^4.17.8",
"@types/node": "^17.0.29",
"@types/react": "^18.0.24",
"@types/react-dom": "^18.0.8",
"@types/react-redux": "^7.1.24",
"@types/react-router-dom": "^5.3.3",
"@types/showdown": "^2.0.3",
"@types/ws": "^8.5.10",
"babel-loader": "^8.3.0",
"babel-plugin-transform-imports": "^2.0.0",
"concurrently": "^8.2.2",
"copy-webpack-plugin": "^12.0.2",
"core-js": "^3.37.1",
"css-loader": "^5.2.7",
"css-minimizer-webpack-plugin": "^4.2.2",
"dotenv": "^8.2.0",
"dotenv-expand": "^5.1.0",
"dotenv-webpack": "^6.0.0",
"file-loader": "^6.1.1",
"html-webpack-plugin": "^5.5.0",
"imagemin": "^7.0.0",
"js-yaml-loader": "^1.2.2",
"mini-css-extract-plugin": "^2.7.2",
"monaco-editor-webpack-plugin": "^7.0.1",
"npm-run-all": "^4.1.5",
"null-loader": "^4.0.1",
"prettier": "^2.1.2",
"protobufjs": "^7.3.2",
"raw-loader": "^4.0.2",
"regenerator-runtime": "^0.13.7",
"rimraf": "^3.0.2",
"sass-loader": "^13.2.0",
"slnodejs": "^6.1.910",
"style-loader": "^2.0.0",
"svg-url-loader": "^6.0.0",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^8.0.5",
"tslib": "^2.5.0",
"typescript": "^5.3.3",
"url-loader": "^4.1.1",
"victory-core": "^36.8.3",
"webpack": "^5.94.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1",
"webpack-merge": "^5.2.0"
},
"optionalDependencies": {
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.5",
"@cypress/code-coverage": "^3.12.34",
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"@testing-library/cypress": "^10.0.1",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.3.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/chai-subset": "^1.3.5",
"@types/jest": "^28.1.8",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"chai-subset": "^1.6.0",
"cypress": "^13.10.0",
"cypress-axe": "^1.5.0",
"cypress-high-resolution": "^1.0.0",
"cypress-mochawesome-reporter": "^3.8.2",
"cypress-multi-reporters": "^1.6.4",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-node": "^0.3.7",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-cypress": "^3.3.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-no-relative-import-paths": "^1.5.2",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"expect": "^29.7.0",
"http-server": "^14.1.1",
"istanbul-merge": "^2.0.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^29.4.3",
"junit-report-merger": "^7.0.0",
"mocha-junit-reporter": "^2.2.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"serve": "^14.2.1",
"ts-jest": "^28.0.8",
"wait-on": "^7.2.0"
},
"overrides": {
"@openshift/dynamic-plugin-sdk-utils": {
"react-redux": "^8.0.4",
"react-router": "^6.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"@patternfly/react-topology": {
"react": "^18.2.0"
},
"ws": "^8.17.1"
}
}