package.json 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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.2.12",
  20. "i18next": "^23.11.5",
  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.2",
  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.3.0",
  36. "vite": "^5.3.3",
  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. "dev_wsl": "VITE_WATCH_USE_POLLING=true vite",
  44. "preview": "vite preview",
  45. "make-i18n": "node scripts/make-i18n-translations.cjs",
  46. "prelint": "npm run make-i18n",
  47. "lint": "eslint src --ext .ts,.tsx,.js && prettier --check src/**/*.{ts,tsx}",
  48. "lint:fix": "eslint src --ext .ts,.tsx,.js --fix && prettier --write src/**/*.{ts,tsx}",
  49. "prepare": "cd .. && husky frontend/.husky"
  50. },
  51. "husky": {
  52. "hooks": {
  53. "pre-commit": "npm run test && lint-staged"
  54. }
  55. },
  56. "lint-staged": {
  57. "src/**/*.{ts,tsx,js}": [
  58. "eslint --fix",
  59. "prettier --write"
  60. ]
  61. },
  62. "devDependencies": {
  63. "@tailwindcss/typography": "^0.5.13",
  64. "@testing-library/jest-dom": "^6.4.6",
  65. "@testing-library/react": "^16.0.0",
  66. "@testing-library/user-event": "^14.5.2",
  67. "@types/node": "^20.14.9",
  68. "@types/react": "^18.3.3",
  69. "@types/react-dom": "^18.3.0",
  70. "@types/react-highlight": "^0.12.8",
  71. "@types/react-syntax-highlighter": "^15.5.13",
  72. "@typescript-eslint/eslint-plugin": "^7.15.0",
  73. "@typescript-eslint/parser": "^7.15.0",
  74. "autoprefixer": "^10.4.19",
  75. "eslint": "^8.57.0",
  76. "eslint-config-airbnb": "^19.0.4",
  77. "eslint-config-airbnb-typescript": "^18.0.0",
  78. "eslint-config-prettier": "^9.1.0",
  79. "eslint-plugin-import": "^2.29.1",
  80. "eslint-plugin-jsx-a11y": "^6.9.0",
  81. "eslint-plugin-prettier": "^5.1.3",
  82. "eslint-plugin-react": "^7.34.3",
  83. "eslint-plugin-react-hooks": "^4.6.2",
  84. "husky": "^9.0.11",
  85. "jsdom": "^24.1.0",
  86. "lint-staged": "^15.2.7",
  87. "postcss": "^8.4.39",
  88. "prettier": "^3.3.2",
  89. "tailwindcss": "^3.4.4",
  90. "typescript": "^5.5.3",
  91. "vite-tsconfig-paths": "^4.3.2",
  92. "vitest": "^1.6.0"
  93. },
  94. "packageManager": "npm@10.5.0",
  95. "volta": {
  96. "node": "18.20.1"
  97. }
  98. }