|
@@ -12,9 +12,12 @@
|
|
|
"start-console": "./start-console.sh",
|
|
"start-console": "./start-console.sh",
|
|
|
"i18n": "i18next \"src/**/*.{js,jsx,ts,tsx}\" [-oc] -c i18next-parser.config.js",
|
|
"i18n": "i18next \"src/**/*.{js,jsx,ts,tsx}\" [-oc] -c i18next-parser.config.js",
|
|
|
"ts-node": "ts-node -O '{\"module\":\"commonjs\"}'",
|
|
"ts-node": "ts-node -O '{\"module\":\"commonjs\"}'",
|
|
|
- "lint": "eslint ./src --fix && stylelint \"src/**/*.css\" --allow-empty-input --fix"
|
|
|
|
|
|
|
+ "lint": "eslint ./src ./integration-tests --fix && stylelint \"src/**/*.css\" --allow-empty-input --fix",
|
|
|
|
|
+ "test-cypress": "cd integration-tests s && cypress open --env openshift=true",
|
|
|
|
|
+ "test-cypress-headless": "cd integration-tests && node --max-old-space-size=4096 ../node_modules/.bin/cypress run --env openshift=true --browser ${BRIDGE_E2E_BROWSER_NAME:=chrome}"
|
|
|
},
|
|
},
|
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
|
|
|
+ "@cypress/webpack-preprocessor": "^5.15.5",
|
|
|
"@openshift-console/dynamic-plugin-sdk": "0.0.12",
|
|
"@openshift-console/dynamic-plugin-sdk": "0.0.12",
|
|
|
"@openshift-console/dynamic-plugin-sdk-webpack": "0.0.7",
|
|
"@openshift-console/dynamic-plugin-sdk-webpack": "0.0.7",
|
|
|
"@patternfly/react-core": "4.221.3",
|
|
"@patternfly/react-core": "4.221.3",
|
|
@@ -25,10 +28,15 @@
|
|
|
"@typescript-eslint/eslint-plugin": "^5.29.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.29.0",
|
|
|
"@typescript-eslint/parser": "^5.29.0",
|
|
"@typescript-eslint/parser": "^5.29.0",
|
|
|
"css-loader": "^6.7.1",
|
|
"css-loader": "^6.7.1",
|
|
|
|
|
+ "cypress": "^11.0.1",
|
|
|
|
|
+ "cypress-multi-reporters": "^1.6.2",
|
|
|
"eslint": "^8.18.0",
|
|
"eslint": "^8.18.0",
|
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
|
|
|
+ "eslint-plugin-cypress": "^2.12.1",
|
|
|
"eslint-plugin-prettier": "^4.1.0",
|
|
"eslint-plugin-prettier": "^4.1.0",
|
|
|
"eslint-plugin-react": "^7.30.1",
|
|
"eslint-plugin-react": "^7.30.1",
|
|
|
|
|
+ "mocha-junit-reporter": "^2.2.0",
|
|
|
|
|
+ "mochawesome": "^7.1.3",
|
|
|
"prettier": "^2.7.1",
|
|
"prettier": "^2.7.1",
|
|
|
"prettier-stylelint": "^0.4.2",
|
|
"prettier-stylelint": "^0.4.2",
|
|
|
"react": "^17.0.1",
|
|
"react": "^17.0.1",
|