forked from opendatahub-io/odh-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
147 lines (147 loc) · 5.36 KB
/
Copy pathpackage.json
File metadata and controls
147 lines (147 loc) · 5.36 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
{
"name": "odh-dashboard",
"version": "2.0.0",
"license": "Apache-2.0",
"private": true,
"bin": {
"unit-test-coverage-aggregator": "scripts/unit-test-coverage-aggregator.js"
},
"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": ">=22.0.0"
},
"packageManager": "npm@11.8.0",
"workspaces": [
"backend",
"frontend",
"frontend/src",
"packages/*",
"distributions/base",
"distributions/core-bff",
"distributions/rhaii",
"packages/model-serving/cypress"
],
"scripts": {
"build": "run-p -l build:*",
"build:backend": "npm run build --prefix backend",
"build:frontend": "npm run build --prefix frontend",
"dev": "run-p -l dev:*",
"dev:backend": "cd ./backend && npm run start:dev",
"dev:frontend": "cd ./frontend && npm run start:dev",
"format": "prettier --write \"backend/**/*.ts\" \"frontend/**/*.ts\" \"frontend/**/*.tsx\"",
"make": "make",
"make:build": "make build",
"make:deploy": "make deploy",
"make:login": "make login",
"make:undeploy": "make undeploy",
"make:push": "make push",
"start": "run-p start:*",
"start:backend": "cd ./backend && npm start",
"start:frontend": "echo \"...available at ./frontend/public\"",
"test": "run-s test:backend test:frontend",
"test:backend": "cd ./backend && npm run test",
"test:frontend": "cd ./frontend && npm run test",
"test:frontend:coverage": "cd ./frontend && npm run test:coverage",
"test:frontend:unit-coverage": "cd ./frontend && npm run test:unit-coverage",
"test:backend:unit-coverage": "cd ./backend && npm run test:unit-coverage",
"test:cypress-ci": "cd ./frontend && npm run test:cypress-ci -- ",
"test:unit": "turbo run test:unit",
"lint:frontend:backend": "run-p test:lint:*",
"test:lint:backend": "cd ./backend && npm run test:lint",
"test:lint:frontend": "cd ./frontend && npm run test:lint",
"test:fix": "run-s test:fix-backend test:fix-frontend",
"test:fix-backend": "cd ./backend && npm run test:fix",
"test:fix-frontend": "cd ./frontend && npm run test:fix",
"commit:skip-lint-hook": "SKIP_LINT_HOOK=true git commit",
"commit:force-lint-hook": "FORCE_LINT_HOOK=true git commit",
"prepare": "husky",
"validate:ports": "node scripts/validate-module-ports.js",
"lint": "turbo run lint",
"lint:fix": "turbo run lint:fix",
"type-check": "turbo run type-check",
"test-unit": "turbo run test-unit",
"test-unit-coverage": "turbo run test-unit-coverage && node scripts/unit-test-coverage-aggregator.js",
"test:contract": "turbo run test:contract --concurrency=1",
"cypress:server": "turbo run cypress:server --concurrency=20",
"cypress:server:e2e": "turbo run cypress:server:e2e --concurrency=20",
"cypress:server:dev": "turbo run cypress:server:dev",
"cypress:server:build": "turbo run cypress:server:build",
"cypress:server:build:coverage": "turbo run cypress:server:build:coverage",
"install:all": "npm install && npm run install:modules",
"install:modules": "turbo run install:module --ui=stream",
"prepare:e2e": "turbo run prepare:e2e",
"cypress:server:e2e:wait": "turbo run cypress:server:e2e:wait",
"test:cypress:e2e": "concurrently -P -k -s first --hide 0 \"npm run cypress:server:e2e\" \"npm run cypress:server:e2e:wait && CYPRESS_E2E_PROXY=true npm run cypress:run:chrome --prefix frontend -- {@}\" --",
"start:dev": "turbo run start:dev",
"start:dev:ext": "turbo run start:dev:ext"
},
"dependencies": {
"@kubernetes/client-node": "^0.12.3",
"@openshift/dynamic-plugin-sdk-utils": "^5.0.1",
"@types/tar": "^6.1.13",
"jsonpath-plus": "^10.4.0",
"tough-cookie": "^4.1.4",
"ws": "^8.21.0"
},
"devDependencies": {
"@odh-dashboard/eslint-config": "*",
"@types/node": "^22.19.19",
"@types/react": "^18.3.31",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"csstype": "^3.2.3",
"dotenv": "^16.6.1",
"eslint": "^8.57.1",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"npm-run-all": "^4.1.5",
"rimraf": "^6.1.2",
"turbo": "^2.9.16",
"typescript": "^5.9.3",
"wait-on": "^7.2.0",
"webpack": "5.104.1"
},
"lint-staged": {
"{,+([^.])*/**/}*.{js,ts,jsx,tsx,md}": [
"npx eslint --max-warnings 0"
]
},
"overrides": {
"@openshift/dynamic-plugin-sdk-utils": {
"react-redux": "^8.1.3",
"react-router": "^7.17.0",
"react-router-dom": "^7.17.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"@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-virtualized-extension": "6.2.0"
},
"@patternfly/react-topology": {
"react": "^18.3.1"
},
"@types/react": "^18.3.31",
"csstype": "^3.2.3",
"react-router": "^7.17.0",
"ws": "^8.21.0",
"@types/ws": "^8.18.1",
"dompurify": "^3.4.8",
"@types/tar": "^6.1.13",
"jsonpath-plus": "^10.4.0",
"tough-cookie": "^4.1.4",
"redux": "^4.2.1",
"form-data": "^4.0.5",
"axios": "^1.17.0",
"shell-quote": ">=1.8.4",
"webpack": "5.104.1"
}
}