-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.84 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.84 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
{
"name": "community-plugins-admin",
"version": "0.1.4",
"description": "Discover, install, upgrade, and manage community plugins for the RHOAI Dashboard",
"private": true,
"_comment_name": "[PLUGIN-SPECIFIC] package name — change to {your-plugin}",
"_comment_mf": "[PLUGIN-SPECIFIC] module-federation.name — camelCase, must match webpack and plugin.yaml",
"module-federation": {
"name": "communityPluginsAdmin",
"remoteEntry": "remoteEntry.js",
"authorize": false,
"tls": false,
"proxy": [
{
"path": "/community-plugins-admin",
"pathRewrite": "/community-plugins-admin"
}
],
"_comment_proxy": "[PLUGIN-SPECIFIC] proxy path must match route prefix in extensions.ts",
"local": {
"host": "localhost",
"port": 9500
},
"_comment_port": "[PLUGIN-SPECIFIC] dev port — any unused port works",
"service": {
"name": "odh-dashboard",
"port": 8443
}
},
"scripts": {
"build": "webpack --config config/webpack.prod.js",
"build:dev": "webpack --config config/webpack.dev.js",
"start:dev": "webpack serve --config config/webpack.dev.js",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test-unit": "jest",
"typecheck": "tsc --noEmit",
"validate": "npm run typecheck && npm run lint && npm test",
"lint": "npm run lint:ts && npm run lint:md",
"lint:ts": "eslint --ext .ts,.tsx src/",
"lint:md": "markdownlint-cli2 '**/*.md'",
"sync-chart-version": "node scripts/sync-chart-version.js",
"version": "npm run sync-chart-version && git add chart/Chart.yaml bff/package.json plugin.yaml README.md docs/development/BUILD_AND_PUSH.md docs/deployment/OPENSHIFT_DEPLOY.md"
},
"dependencies": {
"@openshift/dynamic-plugin-sdk": "^5",
"@patternfly/react-core": "^6",
"@patternfly/react-icons": "^6",
"@patternfly/react-table": "^6",
"lodash-es": "^4.18.1",
"react": "^18",
"react-dom": "^18",
"react-router-dom": "^7"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^30.0.0",
"@types/lodash-es": "^4.17.12",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react-router-dom": "^5",
"@typescript-eslint/eslint-plugin": "^7",
"@typescript-eslint/parser": "^7",
"css-loader": "^7",
"eslint": "^8",
"html-webpack-plugin": "^5",
"jest": "^30.4.2",
"jest-environment-jsdom": "^30.4.1",
"jsdom": "^29.1.1",
"markdownlint-cli2": "^0.23.0",
"mini-css-extract-plugin": "^2",
"style-loader": "^4",
"ts-jest": "^29.4.11",
"ts-loader": "^9",
"tsconfig-paths-webpack-plugin": "^4",
"typescript": "^5",
"webpack": "^5",
"webpack-cli": "^5",
"webpack-dev-server": "^5"
}
}