package.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "console-plugin-template",
  3. "version": "0.0.1",
  4. "private": true,
  5. "repository": "git@github.com:spadgett/console-plugin-template.git",
  6. "license": "Apache-2.0",
  7. "scripts": {
  8. "clean": "rm -rf dist",
  9. "build": "yarn clean && NODE_ENV=production yarn ts-node node_modules/.bin/webpack",
  10. "build-dev": "yarn clean && yarn ts-node node_modules/.bin/webpack",
  11. "start": "yarn ts-node node_modules/.bin/webpack serve",
  12. "start-console": "./start-console.sh",
  13. "i18n": "i18next \"src/**/*.{js,jsx,ts,tsx}\" [-oc] -c i18next-parser.config.js",
  14. "ts-node": "ts-node -O '{\"module\":\"commonjs\"}'",
  15. "lint": "eslint ./src ./integration-tests --fix && stylelint \"src/**/*.css\" --allow-empty-input --fix",
  16. "test-cypress": "cd integration-tests s && cypress open --env openshift=true",
  17. "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}"
  18. },
  19. "devDependencies": {
  20. "@cypress/webpack-preprocessor": "^5.15.5",
  21. "@openshift-console/dynamic-plugin-sdk": "0.0.12",
  22. "@openshift-console/dynamic-plugin-sdk-webpack": "0.0.7",
  23. "@patternfly/react-core": "4.221.3",
  24. "@types/node": "^18.0.0",
  25. "@types/react": "^17.0.37",
  26. "@types/react-helmet": "^6.1.4",
  27. "@types/react-router-dom": "^5.3.2",
  28. "@typescript-eslint/eslint-plugin": "^5.29.0",
  29. "@typescript-eslint/parser": "^5.29.0",
  30. "css-loader": "^6.7.1",
  31. "cypress": "^11.0.1",
  32. "cypress-multi-reporters": "^1.6.2",
  33. "eslint": "^8.18.0",
  34. "eslint-config-prettier": "^8.5.0",
  35. "eslint-plugin-cypress": "^2.12.1",
  36. "eslint-plugin-prettier": "^4.1.0",
  37. "eslint-plugin-react": "^7.30.1",
  38. "mocha-junit-reporter": "^2.2.0",
  39. "mochawesome": "^7.1.3",
  40. "prettier": "^2.7.1",
  41. "prettier-stylelint": "^0.4.2",
  42. "react": "^17.0.1",
  43. "react-dom": "^17.0.1",
  44. "react-helmet": "^6.1.0",
  45. "react-i18next": "^11.8.11",
  46. "react-router": "5.2.0",
  47. "react-router-dom": "5.2.0",
  48. "style-loader": "^3.3.1",
  49. "stylelint": "^14.9.1",
  50. "stylelint-config-prettier": "^9.0.3",
  51. "stylelint-config-standard": "^26.0.0",
  52. "ts-loader": "^9.3.1",
  53. "ts-node": "^10.8.1",
  54. "typescript": "^4.7.4",
  55. "webpack": "^5.68.0",
  56. "webpack-cli": "^4.9.2",
  57. "webpack-dev-server": "^4.7.4"
  58. },
  59. "consolePlugin": {
  60. "name": "console-plugin-template",
  61. "version": "0.0.1",
  62. "displayName": "OpenShift Console Plugin Template",
  63. "description": "Template project for OpenShift console plugins. Edit package.json to change this message and the plugin name.",
  64. "exposedModules": {
  65. "ExamplePage": "./components/ExamplePage"
  66. },
  67. "dependencies": {
  68. "@console/pluginAPI": "*"
  69. }
  70. }
  71. }