package.json 2.3 KB

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