{ "name": "openhands-frontend", "version": "0.8.3", "private": true, "type": "module", "engines": { "node": ">=14.8.0" }, "dependencies": { "@monaco-editor/react": "^4.6.0", "@nextui-org/react": "^2.4.6", "@react-types/shared": "^3.24.1", "@reduxjs/toolkit": "^2.2.7", "@vitejs/plugin-react": "^4.3.1", "@xterm/addon-fit": "^0.10.0", "@xterm/xterm": "^5.4.0", "clsx": "^2.1.1", "eslint-config-airbnb-typescript": "^18.0.0", "i18next": "^23.14.0", "i18next-browser-languagedetector": "^8.0.0", "i18next-http-backend": "^2.6.1", "jose": "^5.7.0", "monaco-editor": "^0.50.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-highlight": "^0.15.0", "react-hot-toast": "^2.4.1", "react-i18next": "^15.0.1", "react-icons": "^5.3.0", "react-markdown": "^9.0.1", "react-redux": "^9.1.2", "react-syntax-highlighter": "^15.5.0", "remark-gfm": "^4.0.0", "tailwind-merge": "^2.5.2", "vite": "^5.4.2", "web-vitals": "^3.5.2" }, "scripts": { "start": "npm run make-i18n && vite", "build": "npm run make-i18n && tsc && vite build", "test": "vitest run", "test:coverage": "npm run make-i18n && vitest run --coverage", "dev_wsl": "VITE_WATCH_USE_POLLING=true vite", "preview": "vite preview", "make-i18n": "node scripts/make-i18n-translations.cjs", "prelint": "npm run make-i18n", "lint": "eslint src --ext .ts,.tsx,.js && prettier --check src/**/*.{ts,tsx}", "lint:fix": "eslint src --ext .ts,.tsx,.js --fix && prettier --write src/**/*.{ts,tsx}", "prepare": "cd .. && husky frontend/.husky" }, "husky": { "hooks": { "pre-commit": "npm run test && lint-staged" } }, "lint-staged": { "src/**/*.{ts,tsx,js}": [ "eslint --fix", "prettier --write" ] }, "devDependencies": { "@tailwindcss/typography": "^0.5.14", "@testing-library/jest-dom": "^6.4.8", "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.2", "@types/node": "^22.4.2", "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "@types/react-highlight": "^0.12.8", "@types/react-syntax-highlighter": "^15.5.13", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "@vitest/coverage-v8": "^1.6.0", "autoprefixer": "^10.4.20", "eslint": "^8.57.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsx-a11y": "^6.9.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-react": "^7.35.0", "eslint-plugin-react-hooks": "^4.6.2", "husky": "^9.1.4", "jsdom": "^24.1.1", "lint-staged": "^15.2.9", "postcss": "^8.4.41", "prettier": "^3.3.3", "tailwindcss": "^3.4.10", "typescript": "^5.5.4", "vite-tsconfig-paths": "^5.0.1", "vitest": "^1.6.0" }, "packageManager": "npm@10.5.0", "volta": { "node": "18.20.1" } }