package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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.3.6",
  12. "@react-types/shared": "^3.23.0",
  13. "@reduxjs/toolkit": "^2.2.2",
  14. "@vitejs/plugin-react": "^4.2.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.2.5",
  20. "i18next": "^23.10.1",
  21. "i18next-browser-languagedetector": "^8.0.0",
  22. "i18next-http-backend": "^2.5.2",
  23. "jose": "^5.3.0",
  24. "monaco-editor": "^0.48.0",
  25. "react": "^18.3.1",
  26. "react-dom": "^18.2.0",
  27. "react-highlight": "^0.15.0",
  28. "react-hot-toast": "^2.4.1",
  29. "react-i18next": "^14.1.1",
  30. "react-icons": "^5.2.1",
  31. "react-markdown": "^9.0.1",
  32. "react-redux": "^9.1.2",
  33. "react-syntax-highlighter": "^15.5.0",
  34. "tailwind-merge": "^2.2.2",
  35. "vite": "^5.2.11",
  36. "web-vitals": "^3.5.2"
  37. },
  38. "scripts": {
  39. "start": "npm run make-i18n && vite",
  40. "build": "tsc && vite build",
  41. "test": "vitest run",
  42. "preview": "vite preview",
  43. "make-i18n": "node scripts/make-i18n-translations.cjs",
  44. "prelint": "npm run make-i18n",
  45. "lint": "eslint src --ext .ts,.tsx,.js && prettier --check src/**/*.{ts,tsx}",
  46. "lint:fix": "eslint src --ext .ts,.tsx,.js --fix && prettier --write src/**/*.{ts,tsx}",
  47. "prepare": "cd .. && husky install frontend/.husky"
  48. },
  49. "husky": {
  50. "hooks": {
  51. "pre-commit": "npm run test && lint-staged"
  52. }
  53. },
  54. "lint-staged": {
  55. "src/**/*.{ts,tsx,js}": [
  56. "eslint --fix",
  57. "prettier --write"
  58. ]
  59. },
  60. "devDependencies": {
  61. "@tailwindcss/typography": "^0.5.13",
  62. "@testing-library/jest-dom": "^6.4.5",
  63. "@testing-library/react": "^13.4.0",
  64. "@testing-library/user-event": "^13.5.0",
  65. "@types/node": "^18.0.0 ",
  66. "@types/react": "^18.3.2",
  67. "@types/react-dom": "^18.2.22",
  68. "@types/react-highlight": "^0.12.8",
  69. "@types/react-syntax-highlighter": "^15.5.11",
  70. "@typescript-eslint/eslint-plugin": "^7.9.0",
  71. "@typescript-eslint/parser": "^7.9.0",
  72. "autoprefixer": "^10.4.19",
  73. "eslint": "^8.57.0",
  74. "eslint-config-airbnb": "^19.0.4",
  75. "eslint-config-airbnb-typescript": "^18.0.0",
  76. "eslint-config-prettier": "^9.1.0",
  77. "eslint-plugin-import": "^2.29.1",
  78. "eslint-plugin-jsx-a11y": "^6.8.0",
  79. "eslint-plugin-prettier": "^5.1.3",
  80. "eslint-plugin-react": "^7.34.1",
  81. "eslint-plugin-react-hooks": "^4.6.0",
  82. "husky": "^8.0.0",
  83. "jsdom": "^24.0.0",
  84. "lint-staged": "^15.2.2",
  85. "postcss": "^8.4.38",
  86. "prettier": "^3.2.5",
  87. "tailwindcss": "^3.4.2",
  88. "typescript": "^5.4.3",
  89. "vite-tsconfig-paths": "^4.3.2",
  90. "vitest": "^1.6.0"
  91. },
  92. "packageManager": "npm@10.5.0",
  93. "volta": {
  94. "node": "18.20.1"
  95. }
  96. }