package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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.2.10",
  12. "@react-types/shared": "^3.22.1",
  13. "@reduxjs/toolkit": "^2.2.2",
  14. "@vitejs/plugin-react": "^4.2.1",
  15. "@xterm/xterm": "^5.4.0",
  16. "clsx": "^2.1.0",
  17. "eslint-config-airbnb-typescript": "^18.0.0",
  18. "framer-motion": "^11.0.24",
  19. "i18next": "^23.10.1",
  20. "i18next-browser-languagedetector": "^7.2.1",
  21. "i18next-http-backend": "^2.5.0",
  22. "jose": "^5.2.3",
  23. "monaco-editor": "^0.47.0",
  24. "react": "^18.2.0",
  25. "react-accessible-treeview": "^2.8.3",
  26. "react-dom": "^18.2.0",
  27. "react-hot-toast": "^2.4.1",
  28. "react-i18next": "^14.1.0",
  29. "react-icons": "^5.0.1",
  30. "react-redux": "^9.1.0",
  31. "react-syntax-highlighter": "^15.5.0",
  32. "tailwind-merge": "^2.2.2",
  33. "vite": "^5.1.6",
  34. "vite-tsconfig-paths": "^4.3.2",
  35. "web-vitals": "^2.1.4",
  36. "xterm-addon-fit": "^0.8.0"
  37. },
  38. "scripts": {
  39. "start": "vite",
  40. "build": "tsc && vite build",
  41. "test": "jest",
  42. "preview": "vite preview",
  43. "make-i18n": "node scripts/make-i18n-translations.cjs",
  44. "prelint": "npm run make-i18n",
  45. "lint": "eslint src/**/*.ts* && prettier --check src/**/*.ts*",
  46. "prepare": "cd .. && husky install frontend/.husky"
  47. },
  48. "husky": {
  49. "hooks": {
  50. "pre-commit": "lint-staged"
  51. }
  52. },
  53. "lint-staged": {
  54. "src/**/*.ts*": [
  55. "eslint --fix",
  56. "prettier --write"
  57. ]
  58. },
  59. "jest": {
  60. "preset": "ts-jest/presets/js-with-ts",
  61. "testEnvironment": "jest-environment-jsdom",
  62. "modulePaths": [
  63. "<rootDir>/src"
  64. ]
  65. },
  66. "devDependencies": {
  67. "@testing-library/jest-dom": "^6.4.2",
  68. "@testing-library/react": "^13.4.0",
  69. "@testing-library/user-event": "^13.5.0",
  70. "@types/jest": "^29.5.12",
  71. "@types/node": "^18.0.0 ",
  72. "@types/react": "^18.2.66",
  73. "@types/react-dom": "^18.2.22",
  74. "@types/react-syntax-highlighter": "^15.5.11",
  75. "@typescript-eslint/eslint-plugin": "^7.4.0",
  76. "@typescript-eslint/parser": "^7.0.0",
  77. "autoprefixer": "^10.4.19",
  78. "eslint": "^8.57.0",
  79. "eslint-config-airbnb": "^19.0.4",
  80. "eslint-config-airbnb-typescript": "^18.0.0",
  81. "eslint-config-prettier": "^9.1.0",
  82. "eslint-plugin-import": "^2.29.1",
  83. "eslint-plugin-jsx-a11y": "^6.8.0",
  84. "eslint-plugin-prettier": "^5.1.3",
  85. "eslint-plugin-react": "^7.34.1",
  86. "eslint-plugin-react-hooks": "^4.6.0",
  87. "husky": "^8.0.0",
  88. "jest": "^29.7.0",
  89. "jest-environment-jsdom": "^29.7.0",
  90. "lint-staged": "^15.2.2",
  91. "postcss": "^8.4.38",
  92. "prettier": "^3.2.5",
  93. "tailwindcss": "^3.4.2",
  94. "ts-jest": "^29.1.2",
  95. "typescript": "^5.4.3"
  96. },
  97. "packageManager": "npm@10.5.0",
  98. "volta": {
  99. "node": "18.20.1"
  100. }
  101. }