generated from openshift/console-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
143 lines (143 loc) · 6.35 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
{
"name": "cryostat-openshift-console-plugin",
"version": "4.1.0-dev",
"description": "OpenShift Console plugin for Cryostat",
"private": true,
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/cryostatio/cryostat-openshift-console-plugin.git"
},
"scripts": {
"clean": "rm -rf dist",
"build": "yarn clean && NODE_ENV=production yarn webpack",
"build-dev": "yarn clean && yarn webpack",
"eslint": "yarn eslint:check",
"eslint:check": "eslint './src/openshift/**/*.{ts,tsx,js}' './backend/src/**/*.{ts,tsx}'",
"eslint:apply": "eslint --fix './src/openshift/**/*.{ts,tsx,js}' './backend/src/**/*.{ts,tsx}'",
"stylelint:check": "stylelint 'src/openshift/**/*.css' --allow-empty-input",
"stylelint:apply": "stylelint 'src/openshift/**/*.css' --fix",
"license:check": "license-check-and-add check -f license-config.json",
"license:apply": "license-check-and-add add -f license-config.json",
"lint": "yarn lint:check",
"lint:check": "concurrently -c 'auto' 'yarn:eslint:check' 'yarn:stylelint:check'",
"lint:apply": "concurrently -c 'auto' 'yarn:eslint:apply' 'yarn:stylelint:apply'",
"localize": "i18next \"src/openshift/**/*.{js,jsx,ts,tsx,json}\" -c ./i18next-parser.config.js",
"format": "yarn format:check",
"format:check": "concurrently -c 'auto' 'yarn:license:check' 'yarn:prettier:check'",
"format:apply": "concurrently -c 'auto' 'yarn:license:apply' 'yarn:prettier:apply'",
"prettier:check": "prettier --check './src/openshift/**/*.{tsx,ts}' './backend/src/**/*.{tsx,ts}' ",
"prettier:apply": "prettier --write './src/openshift/**/*.{tsx,ts}' './backend/src/**/*.{tsx,ts}' ",
"type-check": "tsc --noEmit",
"type-check:plugin": "tsc --noEmit -p tsconfig-plugin.json",
"start": "yarn webpack serve --progress",
"start-console": "./start-console.sh",
"i18n": "./i18n-scripts/build-i18n.sh && node ./i18n-scripts/set-english-defaults.js",
"test-cypress": "cd integration-tests && cypress open",
"test-cypress-headless": "cd integration-tests && node --max-old-space-size=4096 ../node_modules/.bin/cypress run --browser ${BRIDGE_E2E_BROWSER_NAME:=electron}",
"cypress-merge": "mochawesome-merge ./integration-tests/screenshots/cypress_report*.json > ./integration-tests/screenshots/cypress.json",
"cypress-generate": "marge -o ./integration-tests/screenshots/ -f cypress-report -t 'OpenShift Console Plugin Template Cypress Test Results' -p 'OpenShift Cypress Plugin Template Test Results' --showPassed false --assetsDir ./integration-tests/screenshots/cypress/assets ./integration-tests/screenshots/cypress.json",
"cypress-postreport": "yarn cypress-merge && yarn cypress-generate",
"webpack": "node -r ts-node/register ./node_modules/.bin/webpack",
"mock-server": "prism mock -d -p 8181 $npm_package_config_api_schema_path"
},
"devDependencies": {
"@cypress/webpack-preprocessor": "^5.15.5",
"@openshift-console/dynamic-plugin-sdk": "1.4.0",
"@openshift-console/dynamic-plugin-sdk-webpack": "1.1.1",
"@patternfly/patternfly": "^5.4.0",
"@patternfly/quickstarts": "^5.4.0",
"@patternfly/react-catalog-view-extension": "^5.0.0",
"@patternfly/react-charts": "^7.4.5",
"@patternfly/react-core": "^5.4.2",
"@patternfly/react-icons": "^5.4.0",
"@patternfly/react-styles": "^5.4.1",
"@patternfly/react-table": "^5.4.8",
"@patternfly/react-topology": "^5.4.0",
"@reduxjs/toolkit": "^1.9.3",
"@stoplight/prism-cli": "^5.12.0",
"@types/node": "^22.10.5",
"@types/react": "^17.0.69",
"@types/react-helmet": "^6.1.4",
"@types/react-router-dom": "^5.3.2",
"@typescript-eslint/eslint-plugin": "^8.12.2",
"@typescript-eslint/parser": "^8.12.2",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.7.1",
"cypress": "^14.0.3",
"cypress-multi-reporters": "^1.6.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "^4.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.4",
"flat": "5.0.2",
"humanize-duration": "^3.32.1",
"i18next": "^21.8.4",
"i18next-browser-languagedetector": "^8.0.0",
"i18next-parser": "^3.11.0",
"mocha-junit-reporter": "^2.2.0",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.3.0",
"pluralize": "^8.0.0",
"prettier": "^3.4.2",
"prettier-stylelint": "^0.4.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-i18next": "^11.7.3",
"react-joyride": "^2.9.2",
"react-router": "5.3.x",
"react-router-dom": "5.3.x",
"style-loader": "^4.0.0",
"stylelint": "^16.14.1",
"stylelint-config-standard": "^31.0.0",
"ts-loader": "^9.3.1",
"ts-node": "^10.8.1",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "^5.6.3",
"webpack": "5.75.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4"
},
"dependencies": {
"concurrently": "^9.1.2",
"eslint-plugin-react-hooks": "^5.1.0",
"license-check-and-add": "^4.0.5",
"rxjs": "^7.8.0"
},
"consolePlugin": {
"name": "cryostat-plugin",
"version": "4.1.0-dev",
"displayName": "Cryostat OpenShift Console Plugin",
"description": "OpenShift Console plugin for Cryostat",
"exposedModules": {
"AboutPage": "./openshift/pages/AboutPage",
"DashboardPage": "./openshift/pages/DashboardPage",
"DashboardSoloPage": "./openshift/pages/DashboardSoloPage",
"TopologyPage": "./openshift/pages/TopologyPage",
"CreateTargetPage": "./openshift/pages/CreateTargetPage",
"AutomatedRulesPage": "./openshift/pages/AutomatedRulesPage",
"CreateRulesPage": "./openshift/pages/CreateRulesPage",
"RecordingsPage": "./openshift/pages/RecordingsPage",
"CreateRecordingPage": "./openshift/pages/CreateRecordingPage",
"ArchivesPage": "./openshift/pages/ArchivesPage",
"EventsPage": "./openshift/pages/EventsPage",
"SecurityPage": "./openshift/pages/SecurityPage"
},
"dependencies": {
"@console/pluginAPI": "*"
}
},
"peerDependencies": {
"@babel/core": "^7.0.1",
"@babel/preset-env": "^7.0.0",
"babel-loader": "^8.0.2",
"i18next": "^23.11.5",
"mocha": "^10.5.1"
},
"config": {
"api_schema_path": "https://raw.githubusercontent.com/cryostatio/cryostat/refs/heads/main/schema/openapi.yaml"
},
"packageManager": "[email protected]"
}