package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "opendevin-frontend",
  3. "version": "0.1.0",
  4. "private": true,
  5. "type": "module",
  6. "dependencies": {
  7. "@monaco-editor/react": "^4.6.0",
  8. "@testing-library/jest-dom": "^5.17.0",
  9. "@testing-library/react": "^13.4.0",
  10. "@testing-library/user-event": "^13.5.0",
  11. "@types/node": "^18.0.0 ",
  12. "@types/react": "^18.2.66",
  13. "@types/react-dom": "^18.2.22",
  14. "@types/react-syntax-highlighter": "^15.5.11",
  15. "@vitejs/plugin-react": "^4.2.1",
  16. "@xterm/xterm": "^5.4.0",
  17. "eslint-config-airbnb-typescript": "^18.0.0",
  18. "react": "^18.2.0",
  19. "react-dom": "^18.2.0",
  20. "react-syntax-highlighter": "^15.5.0",
  21. "typescript": "^4.9.5",
  22. "vite": "^5.1.6",
  23. "vite-tsconfig-paths": "^4.3.2",
  24. "web-vitals": "^2.1.4",
  25. "xterm-addon-attach": "^0.9.0",
  26. "xterm-addon-fit": "^0.8.0"
  27. },
  28. "scripts": {
  29. "start": "vite",
  30. "build": "tsc && vite build",
  31. "test": "jest",
  32. "preview": "vite preview",
  33. "lint": "eslint src/**/*.ts* && prettier --check src/**/*.ts*",
  34. "prepare": "cd .. && husky install frontend/.husky"
  35. },
  36. "husky": {
  37. "hooks": {
  38. "pre-commit": "lint-staged"
  39. }
  40. },
  41. "lint-staged": {
  42. "src/**/*.ts*": [
  43. "eslint --fix",
  44. "prettier --write"
  45. ]
  46. },
  47. "eslintConfig": {
  48. "extends": [
  49. "react-app",
  50. "react-app/jest"
  51. ]
  52. },
  53. "jest": {
  54. "preset": "ts-jest/presets/js-with-ts",
  55. "testEnvironment": "jest-environment-jsdom",
  56. "modulePaths": [
  57. "<rootDir>/src"
  58. ]
  59. },
  60. "devDependencies": {
  61. "@types/jest": "^29.5.12",
  62. "@typescript-eslint/parser": "^7.0.0",
  63. "eslint": "^8.57.0",
  64. "eslint-config-airbnb": "^19.0.4",
  65. "eslint-config-prettier": "^9.1.0",
  66. "eslint-plugin-import": "^2.29.1",
  67. "eslint-plugin-jsx-a11y": "^6.8.0",
  68. "eslint-plugin-prettier": "^5.1.3",
  69. "eslint-plugin-react": "^7.34.1",
  70. "eslint-plugin-react-hooks": "^4.6.0",
  71. "husky": "^8.0.0",
  72. "jest": "^29.7.0",
  73. "jest-environment-jsdom": "^29.7.0",
  74. "lint-staged": "^15.2.2",
  75. "prettier": "^3.2.5",
  76. "ts-jest": "^29.1.2"
  77. }
  78. }