| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- {
- "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",
- "coverage": "jest --coverage",
- "start": "yarn webpack serve --progress",
- "start-console": "./start-console.sh",
- "i18n": "./i18n-scripts/build-i18n.sh && node ./i18n-scripts/set-english-defaults.js",
- "test": "LANG=en_US.UTF-8 jest",
- "lint": "yarn eslint src integration-tests --fix --max-warnings 0 && 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"
- },
- "devDependencies": {
- "@babel/core": "^7.29.0",
- "@babel/preset-env": "^7.29.3",
- "@cypress/webpack-preprocessor": "^7.1.0",
- "@openshift-console/dynamic-plugin-sdk": "4.22-latest",
- "@openshift-console/dynamic-plugin-sdk-webpack": "4.22-latest",
- "@patternfly/react-core": "^6.4.3",
- "@patternfly/react-icons": "^6.4.0",
- "@patternfly/react-table": "^6.4.3",
- "@swc/core": "^1.15.32",
- "@swc/jest": "^0.2.39",
- "@testing-library/dom": "^10.4.1",
- "@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/node": "^22.0.0",
- "@types/react": "^18.3.28",
- "babel-loader": "^10.1.1",
- "copy-webpack-plugin": "^14.0.0",
- "css-loader": "^7.1.4",
- "cypress": "^15.14.2",
- "cypress-multi-reporters": "^2.0.5",
- "eslint": "^9.7.0",
- "eslint-config-prettier": "^10.1.8",
- "eslint-import-resolver-typescript": "^4.4.4",
- "eslint-plugin-cypress": "^6.4.0",
- "eslint-plugin-import-x": "^4.16.2",
- "eslint-plugin-jest": "^29.15.2",
- "eslint-plugin-prettier": "^5.5.5",
- "eslint-plugin-react": "^7.37.5",
- "eslint-plugin-react-hooks": "^7.1.1",
- "eslint-plugin-testing-library": "^7.16.2",
- "fork-ts-checker-webpack-plugin": "^9.1.0",
- "globals": "^17.6.0",
- "i18next": "^25.8.18",
- "i18next-parser": "^9.4.0",
- "jest": "^30.3.0",
- "jest-environment-jsdom": "^30.3.0",
- "jest-junit": "^17.0.0",
- "mocha": "^11.7.5",
- "mocha-junit-reporter": "^2.2.1",
- "mochawesome": "^7.1.4",
- "mochawesome-merge": "^5.1.1",
- "pluralize": "^8.0.0",
- "prettier": "^3.8.3",
- "prettier-stylelint": "^0.4.2",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
- "react-i18next": "~16.5.8",
- "react-router": "~7.13.1",
- "style-loader": "^4.0.0",
- "stylelint": "^17.9.1",
- "stylelint-config-standard": "^40.0.0",
- "swc-loader": "^0.2.7",
- "ts-node": "^10.9.2",
- "typescript": "^5.9.3",
- "typescript-eslint": "^8.59.1",
- "webpack": "^5.106.2",
- "webpack-cli": "^7.0.2",
- "webpack-dev-server": "^5.2.3"
- },
- "dependenciesMeta": {
- "cypress": {
- "built": true
- }
- },
- "consolePlugin": {
- "name": "console-plugin-template",
- "version": "0.0.1",
- "displayName": "OpenShift Console Plugin Template",
- "description": "Template project for OpenShift Console plugins. Edit package.json to change this message and the plugin name.",
- "exposedModules": {
- "ExamplePage": "./components/ExamplePage"
- },
- "dependencies": {
- "@console/pluginAPI": ">=4.22.0-0"
- }
- },
- "packageManager": "yarn@4.14.1"
- }
|