package.json 2.0 KB

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