package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. "@reduxjs/toolkit": "^2.2.2",
  12. "@testing-library/jest-dom": "^5.17.0",
  13. "@testing-library/react": "^13.4.0",
  14. "@testing-library/user-event": "^13.5.0",
  15. "@types/node": "^18.0.0 ",
  16. "@types/react": "^18.2.66",
  17. "@types/react-dom": "^18.2.22",
  18. "@types/react-syntax-highlighter": "^15.5.11",
  19. "@typescript-eslint/eslint-plugin": "^7.4.0",
  20. "@vitejs/plugin-react": "^4.2.1",
  21. "@xterm/xterm": "^5.4.0",
  22. "eslint-config-airbnb-typescript": "^18.0.0",
  23. "react": "^18.2.0",
  24. "react-dom": "^18.2.0",
  25. "react-redux": "^9.1.0",
  26. "react-syntax-highlighter": "^15.5.0",
  27. "typescript": "^4.9.5",
  28. "vite": "^5.1.6",
  29. "vite-tsconfig-paths": "^4.3.2",
  30. "web-vitals": "^2.1.4",
  31. "xterm-addon-fit": "^0.8.0"
  32. },
  33. "scripts": {
  34. "start": "vite",
  35. "build": "tsc && vite build",
  36. "test": "jest",
  37. "preview": "vite preview",
  38. "lint": "eslint src/**/*.ts* && prettier --check src/**/*.ts*",
  39. "prepare": "cd .. && husky install frontend/.husky"
  40. },
  41. "husky": {
  42. "hooks": {
  43. "pre-commit": "lint-staged"
  44. }
  45. },
  46. "lint-staged": {
  47. "src/**/*.ts*": [
  48. "eslint --fix",
  49. "prettier --write"
  50. ]
  51. },
  52. "eslintConfig": {
  53. "extends": [
  54. "react-app",
  55. "react-app/jest"
  56. ]
  57. },
  58. "jest": {
  59. "preset": "ts-jest/presets/js-with-ts",
  60. "testEnvironment": "jest-environment-jsdom",
  61. "modulePaths": [
  62. "<rootDir>/src"
  63. ]
  64. },
  65. "devDependencies": {
  66. "@types/jest": "^29.5.12",
  67. "@typescript-eslint/parser": "^7.0.0",
  68. "autoprefixer": "^10.4.19",
  69. "daisyui": "^4.9.0",
  70. "eslint": "^8.57.0",
  71. "eslint-config-airbnb": "^19.0.4",
  72. "eslint-config-prettier": "^9.1.0",
  73. "eslint-plugin-import": "^2.29.1",
  74. "eslint-plugin-jsx-a11y": "^6.8.0",
  75. "eslint-plugin-prettier": "^5.1.3",
  76. "eslint-plugin-react": "^7.34.1",
  77. "eslint-plugin-react-hooks": "^4.6.0",
  78. "husky": "^8.0.0",
  79. "jest": "^29.7.0",
  80. "jest-environment-jsdom": "^29.7.0",
  81. "lint-staged": "^15.2.2",
  82. "postcss": "^8.4.38",
  83. "prettier": "^3.2.5",
  84. "tailwindcss": "^3.4.2",
  85. "ts-jest": "^29.1.2"
  86. }
  87. }