-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
103 lines (103 loc) · 4.79 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
{
"name": "lightspeed-console-plugin",
"version": "0.1.0",
"private": true,
"repository": "[email protected]:openshift/lightspeed-console.git",
"license": "Apache-2.0",
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && NODE_ENV=production npm run ts-node node_modules/.bin/webpack",
"build-dev": "npm run clean && npm run ts-node node_modules/.bin/webpack",
"start": "npm run ts-node node_modules/.bin/webpack serve",
"start-console": "./start-console.sh",
"i18n": "./i18n-scripts/build-i18n.sh && node ./i18n-scripts/set-english-defaults.js",
"ts-node": "ts-node -O '{\"module\":\"commonjs\"}'",
"lint": "eslint ./*.{js,ts} ./src ./cypress ./tests && stylelint \"src/**/*.css\" --allow-empty-input",
"lint-fix": "eslint ./*.{js,ts} ./src ./cypress ./tests --fix && stylelint \"src/**/*.css\" --allow-empty-input --fix",
"test-cypress-console": "./node_modules/.bin/cypress open --env openshift=true --browser chrome",
"test-cypress-console-headless": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --env grepTags=@e2e openshift=true --browser chrome",
"test-cypress-console-hypershift-guest": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --env grepTags=HyperShiftGUEST openshift=true --browser chrome",
"test-cypress-console-osd": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --env grepTags=@osd-ccs openshift=true --browser chrome",
"test-cypress-console-rosa": "node --max-old-space-size=4096 ./node_modules/.bin/cypress run --env grepTags=@rosa openshift=true --browser chrome",
"cypress-merge": "mochawesome-merge ./gui_test_screenshots/cypress_report*.json > ./gui_test_screenshots/cypress.json",
"cypress-generate": "marge -o ./gui_test_screenshots/ -f cypress-report -t 'OpenShift QE Console Cypress Test Results' -p 'OpenShift QE Cypress Test Results' --showPassed false --assetsDir ./gui_test_screenshots/cypress/assets ./gui_test_screenshots/cypress.json",
"cypress-a11y-report": "echo '\nA11y Test Results:' && mv ./cypress-a11y-report.json ./gui_test_screenshots/ && node -e \"console.table(JSON.parse(require('fs').readFileSync(process.argv[1])));\" ./gui_test_screenshots/cypress-a11y-report.json",
"cypress-postreport": "yarn cypress-merge && yarn cypress-generate",
"delete:reports": "rm -rf gui_test_screenshots/* || true",
"merge-reports": "jrm combined.xml \"gui_test_screenshots/junit_cypress-*.xml\""
},
"dependencies": {
"@openshift-console/dynamic-plugin-sdk": "1.0.0",
"@openshift-console/dynamic-plugin-sdk-webpack": "1.0.2",
"@patternfly/react-code-editor": "5.4.14",
"@patternfly/react-core": "5.4.11",
"@patternfly/react-icons": "5.4.2",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"dotenv": "^16.4.7",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-i18next": "11.18.6",
"react-markdown": "^8.0.7",
"react-modal": "^3.12.1",
"react-redux": "7.2.2",
"react-router": "5.3.4",
"react-router-dom": "5.3.4",
"style-loader": "^4.0.0",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"webpack": "5.94.0",
"webpack-cli": "^5.1.4"
},
"devDependencies": {
"@types/node": "^22.10.1",
"@types/react": "17.0.x",
"@types/react-router-dom": "5.3.x",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"i18next-parser": "^9.0.2",
"pluralize": "^8.0.0",
"prettier": "^3.4.2",
"stylelint": "^16.11.0",
"stylelint-config-standard": "^36.0.1",
"webpack-dev-server": "^5.1.0",
"@cypress/grep": "^4.1.0",
"@cypress/webpack-preprocessor": "^6.0.2",
"cypress": "^13.16.1",
"cypress-multi-reporters": "^2.0.4",
"junit-report-merger": "^7.0.0",
"mocha-junit-reporter": "^2.2.1",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.3.0",
"mochawesome-report-generator": "^6.2.0"
},
"overrides": {
"cross-spawn": "^7.0.5",
"express": ">=4.21.2",
"nanoid": "^3.3.8",
"webpack": "5.94.0"
},
"consolePlugin": {
"name": "lightspeed-console-plugin",
"version": "0.1.0",
"displayName": "OpenShift Lightspeed Console Plugin",
"description": "Add UI elements for interacting with OpenShift Lightspeed to the OpenShift web console.",
"exposedModules": {
"NullContextProvider": "./components/NullContextProvider",
"OLSReducer": "./redux-reducers",
"OverviewDetail": "./components/OverviewDetail",
"usePopover": "./hooks/usePopover"
},
"dependencies": {
"@console/pluginAPI": "*"
}
}
}