package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. {
  2. "name": "kafka-ui",
  3. "version": "0.4.0",
  4. "homepage": "./",
  5. "private": true,
  6. "dependencies": {
  7. "@babel/core": "^7.16.0",
  8. "@babel/plugin-syntax-flow": "^7.18.6",
  9. "@babel/plugin-transform-react-jsx": "^7.18.6",
  10. "@floating-ui/react-dom-interactions": "^0.10.3",
  11. "@hookform/error-message": "^2.0.0",
  12. "@hookform/resolvers": "^2.7.1",
  13. "@microsoft/fetch-event-source": "^2.0.1",
  14. "@reduxjs/toolkit": "^1.8.3",
  15. "@szhsin/react-menu": "^3.1.1",
  16. "@tanstack/react-query": "^4.0.5",
  17. "@tanstack/react-table": "^8.5.10",
  18. "@testing-library/react": "^13.2.0",
  19. "@types/testing-library__jest-dom": "^5.14.5",
  20. "@vitejs/plugin-react": "^2.0.0",
  21. "ace-builds": "^1.7.1",
  22. "ajv": "^8.6.3",
  23. "babel-jest": "^29.0.3",
  24. "classnames": "^2.2.6",
  25. "dayjs": "^1.11.2",
  26. "fetch-mock": "^9.11.0",
  27. "jest": "^29.0.3",
  28. "jest-watch-typeahead": "^2.0.0",
  29. "json-schema-faker": "^0.5.0-rcv.44",
  30. "lodash": "^4.17.21",
  31. "pretty-ms": "7.0.1",
  32. "react": "^18.1.0",
  33. "react-ace": "^10.1.0",
  34. "react-datepicker": "^4.8.0",
  35. "react-dom": "^18.1.0",
  36. "react-error-boundary": "^3.1.4",
  37. "react-hook-form": "7.6.9",
  38. "react-hot-toast": "^2.3.0",
  39. "react-is": "^18.2.0",
  40. "react-multi-select-component": "^4.3.3",
  41. "react-redux": "^8.0.2",
  42. "react-router-dom": "^6.3.0",
  43. "redux": "^4.2.0",
  44. "sass": "^1.52.3",
  45. "styled-components": "^5.3.1",
  46. "use-debounce": "^8.0.1",
  47. "vite": "^3.0.2",
  48. "vite-tsconfig-paths": "^3.5.0",
  49. "whatwg-fetch": "^3.6.2",
  50. "yup": "^0.32.11",
  51. "zustand": "^4.1.1"
  52. },
  53. "lint-staged": {
  54. "*.{ts,tsx}": [
  55. "eslint --fix",
  56. "pnpm test -- --bail --findRelatedTests --watchAll=false --passWithNoTests"
  57. ]
  58. },
  59. "scripts": {
  60. "start": "vite",
  61. "gen:sources": "rimraf src/generated-sources && openapi-generator-cli generate",
  62. "build": "vite build",
  63. "preview": "vite preview",
  64. "lint": "eslint --ext .tsx,.ts src/",
  65. "lint:fix": "eslint --ext .tsx,.ts src/ --fix",
  66. "lint:CI": "eslint --ext .tsx,.ts src/ --max-warnings=0",
  67. "test": "jest --watch",
  68. "test:coverage": "jest --watchAll --coverage",
  69. "test:CI": "CI=true pnpm test:coverage --ci --testResultsProcessor=\"jest-sonar-reporter\" --watchAll=false",
  70. "tsc": "tsc --pretty --noEmit",
  71. "prepare": "cd .. && husky install kafka-ui-react-app/.husky",
  72. "pre-commit": "pnpm tsc && lint-staged",
  73. "deadcode": "ts-prune -i src/generated-sources"
  74. },
  75. "eslintConfig": {
  76. "extends": "react-app"
  77. },
  78. "devDependencies": {
  79. "@babel/preset-env": "^7.18.2",
  80. "@babel/preset-react": "^7.17.12",
  81. "@babel/preset-typescript": "^7.17.12",
  82. "@jest/types": "^29.0.3",
  83. "@openapitools/openapi-generator-cli": "^2.5.1",
  84. "@testing-library/dom": "^8.11.1",
  85. "@testing-library/jest-dom": "^5.16.4",
  86. "@testing-library/user-event": "^14.4.3",
  87. "@types/eventsource": "^1.1.8",
  88. "@types/jest": "^29.0.1",
  89. "@types/lodash": "^4.14.172",
  90. "@types/node": "^16.4.13",
  91. "@types/react": "^18.0.9",
  92. "@types/react-datepicker": "^4.4.2",
  93. "@types/react-dom": "^18.0.3",
  94. "@types/react-router-dom": "^5.3.3",
  95. "@types/styled-components": "^5.1.13",
  96. "@typescript-eslint/eslint-plugin": "^5.29.0",
  97. "@typescript-eslint/parser": "^5.29.0",
  98. "dotenv": "^16.0.1",
  99. "eslint": "^8.3.0",
  100. "eslint-config-airbnb": "^19.0.4",
  101. "eslint-config-airbnb-typescript": "^17.0.0",
  102. "eslint-config-prettier": "^8.5.0",
  103. "eslint-config-react-app": "^7.0.1",
  104. "eslint-import-resolver-node": "^0.3.6",
  105. "eslint-import-resolver-typescript": "^3.2.7",
  106. "eslint-plugin-import": "^2.26.0",
  107. "eslint-plugin-jest-dom": "^4.0.2",
  108. "eslint-plugin-jsx-a11y": "^6.5.1",
  109. "eslint-plugin-prettier": "^4.0.0",
  110. "eslint-plugin-react": "^7.30.1",
  111. "eslint-plugin-react-hooks": "^4.5.0",
  112. "husky": "^8.0.1",
  113. "jest-environment-jsdom": "^29.0.3",
  114. "jest-sonar-reporter": "^2.0.0",
  115. "jest-styled-components": "^7.0.8",
  116. "lint-staged": "^13.0.2",
  117. "prettier": "^2.3.1",
  118. "rimraf": "^3.0.2",
  119. "ts-jest": "^29.0.0",
  120. "ts-node": "^10.8.1",
  121. "ts-prune": "^0.10.3",
  122. "typescript": "^4.7.4"
  123. },
  124. "engines": {
  125. "node": "v16.15.0",
  126. "pnpm": "^7.4.0"
  127. }
  128. }