-
Notifications
You must be signed in to change notification settings - Fork 296
Expand file tree
/
Copy pathpackage.json
More file actions
189 lines (189 loc) · 7.77 KB
/
package.json
File metadata and controls
189 lines (189 loc) · 7.77 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
{
"name": "kubeflow-workspaces-frontend",
"version": "0.0.1",
"description": "The Kubeflow Workspaces Frontend is the web user interface used to monitor and manage Kubeflow Workspaces as part of Kubeflow Notebooks 2.0",
"repository": "https://github.com/kubeflow/notebooks.git",
"homepage": "https://github.com/kubeflow/notebooks",
"license": "Apache-2.0",
"private": true,
"overrides": {
"rimraf": "^6.0.1",
"nyc": {
"rimraf": "^3.0.2"
},
"istanbul-lib-processinfo": {
"rimraf": "^3.0.2"
},
"axios": "^1.15.0"
},
"engines": {
"npm": "^11.10.0",
"node": "^20"
},
"scripts": {
"build": "run-s build:prod",
"build:analyze": "run-s build build:bundle-profile build:bundle-analyze",
"build:bundle-profile": "webpack --config ./config/webpack.prod.js --profile --json > ./bundle.stats.json",
"build:bundle-analyze": "webpack-bundle-analyzer ./bundle.stats.json",
"build:clean": "rimraf ./dist",
"build:prod": "webpack --config ./config/webpack.prod.js",
"generate:api": "./scripts/generate-api.sh && npm run prettier",
"start:dev": "webpack serve --hot --color --config ./config/webpack.dev.js",
"start:tilt": "DEV_ENV=tilt npm run start:dev",
"test": "run-s prettier:check test:lint test:type-check test:unit test:cypress-ci",
"test:cypress-ci": "npx concurrently -P -k -s first \"CY_MOCK=1 npm run cypress:server:build && npm run cypress:server\" \"npx wait-on tcp:127.0.0.1:9001 && npm run cypress:run:mock -- {@}\" -- ",
"test:jest": "jest --passWithNoTests",
"test:unit": "npm run test:jest -- --silent",
"test:watch": "jest --watch",
"test:coverage": "rimraf coverage && run-s test:jest:coverage cypress:coverage test:coverage:merge",
"test: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 --reporter json-summary --reporter text -t coverage --report-dir coverage/report",
"test:jest:coverage": "rimraf jest-coverage && npm run test:jest -- --silent --coverage --coverageReporters=json --coverageReporters=lcov",
"test:lint": "eslint --max-warnings 0 --ext .js,.ts,.jsx,.tsx ./src",
"test:lint:fix": "eslint --ext .js,.ts,.jsx,.tsx ./src --fix",
"test:type-check": "tsc --noEmit && npm run test:type-check:cypress",
"test:type-check:cypress": "tsc --noEmit -p src/__tests__/cypress/tsconfig.json",
"test:fix": "run-s prettier test:lint:fix",
"cypress:open": "cypress open --project src/__tests__/cypress",
"cypress:open:mock": "CY_MOCK=1 CY_WS_PORT=9002 npm run cypress:open -- ",
"cypress:coverage": "rimraf src/__tests__/cypress/.nyc_output src/__tests__/cypress/coverage && COVERAGE=true npm run test:cypress-ci --",
"cypress:run": "cypress run -b chrome --project src/__tests__/cypress",
"cypress:run:mock": "CY_MOCK=1 npm run cypress:run -- ",
"cypress:server:build": "npm run build",
"cypress:server": "serve ./dist -p 9001 -s -L",
"prettier": "prettier --ignore-path .gitignore --ignore-path .prettierignore --write \"**/*{.ts,.tsx,.js,.cjs,.jsx,.css,.json,.yaml}\"",
"prettier:check": "prettier --ignore-path .gitignore --ignore-path .prettierignore --check \"**/*{.ts,.tsx,.js,.cjs,.jsx,.css,.json,.yaml}\"",
"prepare": "cd ../../ && husky workspaces/frontend/.husky"
},
"devDependencies": {
"@module-federation/enhanced": "^0.18.4",
"@mui/icons-material": "^7.3.4",
"@mui/material": "^7.3.4",
"@mui/types": "^7.4.7",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@swc/core": "^1.9.1",
"@types/chai-subset": "^1.3.5",
"@types/classnames": "^2.3.1",
"@types/dompurify": "^3.2.0",
"@types/jest": "^29.5.13",
"@types/js-yaml": "^4.0.9",
"@types/lodash-es": "^4.17.8",
"@types/react-dom": "^18.3.1",
"@types/showdown": "^2.0.3",
"@typescript-eslint/eslint-plugin": "^8.35.0",
"chai-subset": "^1.6.0",
"concurrently": "^9.1.0",
"copy-webpack-plugin": "^13.0.0",
"core-js": "^3.40.0",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"dotenv": "^16.5.0",
"dotenv-expand": "^5.1.0",
"dotenv-webpack": "^6.0.0",
"expect": "^30.0.2",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"html-webpack-plugin": "^5.6.3",
"husky": "^9.1.7",
"imagemin": "^9.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"junit-report-merger": "^7.0.1",
"mini-css-extract-plugin": "^2.9.0",
"postcss": "^8.4.49",
"prettier": "^3.3.3",
"prop-types": "^15.8.1",
"raw-loader": "^4.0.2",
"react-refresh": "^0.14.2",
"regenerator-runtime": "^0.14.1",
"rimraf": "^6.0.1",
"sass": "^1.87.0",
"sass-loader": "^16.0.0",
"speed-measure-webpack-plugin": "^1.5.0",
"style-loader": "^4.0.0",
"svg-url-loader": "^8.0.0",
"swagger-typescript-api": "13.2.7",
"swc-loader": "^0.2.6",
"terser-webpack-plugin": "^5.3.11",
"ts-loader": "^9.5.2",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"tslib": "^2.7.0",
"typescript": "^5.8.2",
"url-loader": "^4.1.1",
"webpack": "^5.97.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.0",
"webpack-merge": "^6.0.1"
},
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@patternfly/patternfly": "^6.4.0",
"@patternfly/react-catalog-view-extension": "^6.2.0",
"@patternfly/react-code-editor": "^6.4.0",
"@patternfly/react-core": "^6.4.0",
"@patternfly/react-icons": "^6.4.0",
"@patternfly/react-styles": "^6.4.0",
"@patternfly/react-table": "^6.4.0",
"@patternfly/react-templates": "^6.4.0",
"@patternfly/react-tokens": "^6.4.0",
"@types/js-yaml": "^4.0.9",
"axios": "^1.15.0",
"classnames": "^2.2.6",
"date-fns": "^4.1.0",
"dompurify": "^3.2.4",
"js-yaml": "^4.1.0",
"lodash-es": "^4.17.15",
"mod-arch-core": "^1.10.2",
"mod-arch-kubeflow": "^1.10.2",
"mod-arch-shared": "^1.15.4",
"react": "^18",
"react-dom": "^18",
"react-router": "^7.5.2",
"react-router-dom": "^7.6.1",
"sass": "^1.83.0",
"showdown": "^2.1.0"
},
"optionalDependencies": {
"@babel/preset-env": "^7.26.9",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.5",
"@cspell/eslint-plugin": "^9.1.2",
"@cypress/code-coverage": "^3.14.1",
"@cypress/webpack-preprocessor": "^6.0.4",
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"@testing-library/cypress": "^10.0.3",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "14.6.1",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"babel-jest": "^29.7.0",
"babel-plugin-istanbul": "^7.0.0",
"cypress": "^14.4.1",
"cypress-axe": "^1.6.0",
"cypress-high-resolution": "^1.0.0",
"cypress-mochawesome-reporter": "^3.8.2",
"cypress-multi-reporters": "^2.0.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-node": "^0.3.7",
"eslint-import-resolver-typescript": "^3.8.3",
"eslint-plugin-cypress": "^3.3.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-local-rules": "^3.0.2",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-no-relative-import-paths": "^1.6.1",
"eslint-plugin-prettier": "^5.4.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"istanbul-merge": "^2.0.0",
"mocha-junit-reporter": "^2.2.1",
"npm-run-all": "^4.1.5",
"nyc": "^17.1.0",
"serve": "^14.2.4",
"ts-jest": "^29.4.0"
}
}