package.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. "scripts": {
  7. "clean": "rm -rf dist",
  8. "build": "yarn clean && NODE_ENV=production yarn ts-node node_modules/.bin/webpack",
  9. "build-dev": "yarn clean && yarn ts-node node_modules/.bin/webpack",
  10. "start": "yarn ts-node node_modules/.bin/webpack serve",
  11. "i18n": "i18next \"src/**/*.{js,jsx,ts,tsx}\" [-oc] -c i18next-parser.config.js",
  12. "ts-node": "ts-node -O '{\"module\":\"commonjs\"}'",
  13. "lint": "eslint ./src --fix"
  14. },
  15. "devDependencies": {
  16. "@openshift-console/dynamic-plugin-sdk": "0.0.3",
  17. "@openshift-console/dynamic-plugin-sdk-webpack": "0.0.3",
  18. "@patternfly/react-core": "4.162.2",
  19. "@types/node": "^16.11.6",
  20. "@types/react": "^17.0.34",
  21. "@types/react-helmet": "^6.1.4",
  22. "@types/react-router-dom": "^5.3.2",
  23. "@types/webpack-dev-server": "^4.5.0",
  24. "@typescript-eslint/eslint-plugin": "^5.3.0",
  25. "@typescript-eslint/parser": "^5.3.0",
  26. "comment-json": "^4.1.1",
  27. "css-loader": "^6.5.1",
  28. "eslint": "^8.1.0",
  29. "eslint-config-prettier": "^8.3.0",
  30. "eslint-plugin-prettier": "^4.0.0",
  31. "eslint-plugin-react": "^7.26.1",
  32. "file-loader": "^6.2.0",
  33. "prettier": "^2.4.1",
  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. "ts-loader": "^9.2.6",
  42. "ts-node": "^10.4.0",
  43. "typescript": "^4.4.4",
  44. "webpack": "^5.53.0",
  45. "webpack-cli": "^4.9.1",
  46. "webpack-dev-server": "^4.5.0"
  47. },
  48. "consolePlugin": {
  49. "name": "console-plugin-template",
  50. "version": "0.0.1",
  51. "displayName": "OpenShift Console Plugin Template",
  52. "description": "Template project for OpenShift console plugins. Edit package.json to change this message and the plugin name.",
  53. "exposedModules": {
  54. "ExamplePage": "./components/ExamplePage"
  55. },
  56. "dependencies": {
  57. "@console/pluginAPI": "*"
  58. }
  59. }
  60. }