| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- {
- "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"
- },
- "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/react-core": "^6.2.2",
- "@patternfly/react-icons": "^6.2.2",
- "@patternfly/react-table": "^6.2.2",
- "@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",
- "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-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",
- "typescript": "^4.7.4",
- "webpack": "5.75.0",
- "webpack-cli": "^4.9.2",
- "webpack-dev-server": "^4.7.4"
- },
- "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": "*"
- }
- },
- "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"
- }
- }
|