package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 --fix && stylelint \"src/**/*.css\" --allow-empty-input --fix"
  16. },
  17. "devDependencies": {
  18. "@openshift-console/dynamic-plugin-sdk": "0.0.12",
  19. "@openshift-console/dynamic-plugin-sdk-webpack": "0.0.7",
  20. "@patternfly/react-core": "4.221.3",
  21. "@types/node": "^18.0.0",
  22. "@types/react": "^17.0.37",
  23. "@types/react-helmet": "^6.1.4",
  24. "@types/react-router-dom": "^5.3.2",
  25. "@typescript-eslint/eslint-plugin": "^5.29.0",
  26. "@typescript-eslint/parser": "^5.29.0",
  27. "css-loader": "^6.7.1",
  28. "eslint": "^8.18.0",
  29. "eslint-config-prettier": "^8.5.0",
  30. "eslint-plugin-prettier": "^4.1.0",
  31. "eslint-plugin-react": "^7.30.1",
  32. "prettier": "^2.7.1",
  33. "prettier-stylelint": "^0.4.2",
  34. "react": "^17.0.1",
  35. "react-dom": "^17.0.1",
  36. "react-helmet": "^6.1.0",
  37. "react-i18next": "^11.8.11",
  38. "react-router": "5.2.0",
  39. "react-router-dom": "5.2.0",
  40. "style-loader": "^3.3.1",
  41. "stylelint": "^14.9.1",
  42. "stylelint-config-prettier": "^9.0.3",
  43. "stylelint-config-standard": "^26.0.0",
  44. "ts-loader": "^9.3.1",
  45. "ts-node": "^10.8.1",
  46. "typescript": "^4.7.4",
  47. "webpack": "^5.68.0",
  48. "webpack-cli": "^4.9.2",
  49. "webpack-dev-server": "^4.7.4"
  50. },
  51. "consolePlugin": {
  52. "name": "console-plugin-template",
  53. "version": "0.0.1",
  54. "displayName": "OpenShift Console Plugin Template",
  55. "description": "Template project for OpenShift console plugins. Edit package.json to change this message and the plugin name.",
  56. "exposedModules": {
  57. "ExamplePage": "./components/ExamplePage"
  58. },
  59. "dependencies": {
  60. "@console/pluginAPI": "*"
  61. }
  62. }
  63. }