package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "name": "opendevin-frontend",
  3. "version": "0.1.0",
  4. "private": true,
  5. "type": "module",
  6. "engines": {
  7. "node": ">=14.8.0"
  8. },
  9. "dependencies": {
  10. "@monaco-editor/react": "^4.6.0",
  11. "@nextui-org/react": "^2.4.2",
  12. "@react-types/shared": "^3.23.1",
  13. "@reduxjs/toolkit": "^2.2.6",
  14. "@vitejs/plugin-react": "^4.3.1",
  15. "@xterm/addon-fit": "^0.10.0",
  16. "@xterm/xterm": "^5.4.0",
  17. "clsx": "^2.1.1",
  18. "eslint-config-airbnb-typescript": "^18.0.0",
  19. "framer-motion": "^11.3.2",
  20. "i18next": "^23.12.1",
  21. "i18next-browser-languagedetector": "^8.0.0",
  22. "i18next-http-backend": "^2.5.2",
  23. "jose": "^5.6.3",
  24. "monaco-editor": "^0.50.0",
  25. "react": "^18.3.1",
  26. "react-dom": "^18.3.1",
  27. "react-highlight": "^0.15.0",
  28. "react-hot-toast": "^2.4.1",
  29. "react-i18next": "^14.1.3",
  30. "react-icons": "^5.2.1",
  31. "react-markdown": "^9.0.1",
  32. "react-redux": "^9.1.2",
  33. "react-router-dom": "^6.24.1",
  34. "react-syntax-highlighter": "^15.5.0",
  35. "tailwind-merge": "^2.4.0",
  36. "vite": "^5.3.4",
  37. "web-vitals": "^3.5.2"
  38. },
  39. "scripts": {
  40. "start": "npm run make-i18n && vite",
  41. "build": "npm run make-i18n && tsc && vite build",
  42. "test": "vitest run",
  43. "test:coverage": "npm run make-i18n && vitest run --coverage",
  44. "dev_wsl": "VITE_WATCH_USE_POLLING=true vite",
  45. "preview": "vite preview",
  46. "make-i18n": "node scripts/make-i18n-translations.cjs",
  47. "prelint": "npm run make-i18n",
  48. "lint": "eslint src --ext .ts,.tsx,.js && prettier --check src/**/*.{ts,tsx}",
  49. "lint:fix": "eslint src --ext .ts,.tsx,.js --fix && prettier --write src/**/*.{ts,tsx}",
  50. "prepare": "cd .. && husky frontend/.husky"
  51. },
  52. "husky": {
  53. "hooks": {
  54. "pre-commit": "npm run test && lint-staged"
  55. }
  56. },
  57. "lint-staged": {
  58. "src/**/*.{ts,tsx,js}": [
  59. "eslint --fix",
  60. "prettier --write"
  61. ]
  62. },
  63. "devDependencies": {
  64. "@tailwindcss/typography": "^0.5.13",
  65. "@testing-library/jest-dom": "^6.4.6",
  66. "@testing-library/react": "^16.0.0",
  67. "@testing-library/user-event": "^14.5.2",
  68. "@types/node": "^20.14.10",
  69. "@types/react": "^18.3.3",
  70. "@types/react-dom": "^18.3.0",
  71. "@types/react-highlight": "^0.12.8",
  72. "@types/react-syntax-highlighter": "^15.5.13",
  73. "@typescript-eslint/eslint-plugin": "^7.16.0",
  74. "@typescript-eslint/parser": "^7.16.1",
  75. "@vitest/coverage-v8": "^1.6.0",
  76. "autoprefixer": "^10.4.19",
  77. "eslint": "^8.57.0",
  78. "eslint-config-airbnb": "^19.0.4",
  79. "eslint-config-airbnb-typescript": "^18.0.0",
  80. "eslint-config-prettier": "^9.1.0",
  81. "eslint-plugin-import": "^2.29.1",
  82. "eslint-plugin-jsx-a11y": "^6.9.0",
  83. "eslint-plugin-prettier": "^5.1.3",
  84. "eslint-plugin-react": "^7.34.4",
  85. "eslint-plugin-react-hooks": "^4.6.2",
  86. "husky": "^9.0.11",
  87. "jsdom": "^24.1.0",
  88. "lint-staged": "^15.2.7",
  89. "postcss": "^8.4.39",
  90. "prettier": "^3.3.3",
  91. "tailwindcss": "^3.4.5",
  92. "typescript": "^5.5.3",
  93. "vite-tsconfig-paths": "^4.3.2",
  94. "vitest": "^1.6.0"
  95. },
  96. "packageManager": "npm@10.5.0",
  97. "volta": {
  98. "node": "18.20.1"
  99. }
  100. }