generated from openshift/console-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
117 lines (117 loc) · 4.75 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
{
"name": "console-plugin-template",
"version": "0.0.1",
"description": "Template project for OpenShift Console plugins",
"private": true,
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/openshift/console-plugin-template.git"
},
"scripts": {
"clean": "rm -rf dist",
"build": "yarn clean && NODE_ENV=production yarn webpack",
"build-dev": "yarn clean && yarn webpack",
"start": "yarn webpack serve --progress",
"start-console": "./start-console.sh",
"i18n": "./i18n-scripts/build-i18n.sh && node ./i18n-scripts/set-english-defaults.js",
"lint": "yarn eslint src integration-tests --fix && stylelint 'src/**/*.css' --allow-empty-input --fix",
"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/quickstarts": "^5.4.0",
"@patternfly/react-catalog-view-extension": "^5.0.0",
"@patternfly/react-charts": "^7.4.3",
"@patternfly/react-core": "^5.4.1",
"@patternfly/react-icons": "^5.4.0",
"@patternfly/react-styles": "^5.4.0",
"@patternfly/react-table": "^5.4.0",
"@patternfly/react-topology": "^5.4.0",
"@reduxjs/toolkit": "^1.9.3",
"@stoplight/prism-cli": "^5.10.0",
"@types/node": "^18.0.0",
"@types/react": "^17.0.37",
"@types/react-helmet": "^6.1.4",
"@types/react-router-dom": "^5.3.2",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"copy-webpack-plugin": "^6.4.1",
"css-loader": "^6.7.1",
"cypress": "^12.17.4",
"cypress-multi-reporters": "^1.6.2",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.1",
"humanize-duration": "^3.32.1",
"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": "^2.7.1",
"prettier-stylelint": "^0.4.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"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": "^3.3.1",
"stylelint": "^15.3.0",
"stylelint-config-standard": "^31.0.0",
"ts-loader": "^9.3.1",
"ts-node": "^10.8.1",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "^4.7.4",
"webpack": "5.75.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4"
},
"dependencies": {
"rxjs": "^7.8.0"
},
"consolePlugin": {
"name": "cryostat-plugin",
"version": "0.0.1",
"displayName": "Cryostat Console Plugin Test",
"description": "Test project for Console Plugin with backend service",
"exposedModules": {
"ExamplePage": "./openshift/pages/ExamplePage",
"AboutPage": "./openshift/pages/AboutPage",
"SettingsPage": "./openshift/pages/SettingsPage",
"DashboardPage": "./openshift/pages/DashboardPage",
"TopologyPage": "./openshift/pages/TopologyPage",
"AutomatedRulesPage": "./openshift/pages/AutomatedRulesPage",
"RecordingsPage": "./openshift/pages/RecordingsPage",
"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"
}
}