package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. "start-console": "./start-console.sh",
  12. "i18n": "i18next \"src/**/*.{js,jsx,ts,tsx}\" [-oc] -c i18next-parser.config.js",
  13. "ts-node": "ts-node -O '{\"module\":\"commonjs\"}'",
  14. "lint": "eslint ./src --fix"
  15. },
  16. "devDependencies": {
  17. "@openshift-console/dynamic-plugin-sdk": "0.0.3",
  18. "@openshift-console/dynamic-plugin-sdk-webpack": "0.0.6",
  19. "@patternfly/react-core": "4.175.4",
  20. "@types/node": "^18.0.0",
  21. "@types/react": "^17.0.37",
  22. "@types/react-helmet": "^6.1.4",
  23. "@types/react-router-dom": "^5.3.2",
  24. "@types/webpack-dev-server": "^4.7.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. "react": "17.0.1",
  34. "react-dom": "^17.0.1",
  35. "react-helmet": "^6.1.0",
  36. "react-i18next": "^11.8.11",
  37. "react-router": "5.2.0",
  38. "react-router-dom": "5.2.0",
  39. "style-loader": "^3.3.1",
  40. "ts-loader": "^9.3.1",
  41. "ts-node": "^10.8.1",
  42. "typescript": "^4.7.4",
  43. "webpack": "^5.68.0",
  44. "webpack-cli": "^4.9.2",
  45. "webpack-dev-server": "^4.7.4"
  46. },
  47. "consolePlugin": {
  48. "name": "console-plugin-template",
  49. "version": "0.0.1",
  50. "displayName": "OpenShift Console Plugin Template",
  51. "description": "Template project for OpenShift console plugins. Edit package.json to change this message and the plugin name.",
  52. "exposedModules": {
  53. "ExamplePage": "./components/ExamplePage"
  54. },
  55. "dependencies": {
  56. "@console/pluginAPI": "*"
  57. }
  58. }
  59. }