mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
* Feat: add lint frontend and lint all to Makefile. * style codes. * Remove redundant target. --------- Co-authored-by: Jim Su <jimsu@protonmail.com> Co-authored-by: Robert Brennan <accounts@rbren.io>
97 lines
2.8 KiB
JSON
97 lines
2.8 KiB
JSON
{
|
|
"name": "opendevin-frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=14.8.0"
|
|
},
|
|
"dependencies": {
|
|
"@monaco-editor/react": "^4.6.0",
|
|
"@nextui-org/react": "^2.2.10",
|
|
"@react-types/shared": "^3.22.1",
|
|
"@reduxjs/toolkit": "^2.2.2",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"@xterm/addon-fit": "^0.10.0",
|
|
"@xterm/xterm": "^5.4.0",
|
|
"clsx": "^2.1.0",
|
|
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
"framer-motion": "^11.0.24",
|
|
"i18next": "^23.10.1",
|
|
"i18next-browser-languagedetector": "^7.2.1",
|
|
"i18next-http-backend": "^2.5.0",
|
|
"jose": "^5.2.3",
|
|
"monaco-editor": "^0.47.0",
|
|
"react": "^18.2.0",
|
|
"react-accessible-treeview": "^2.8.3",
|
|
"react-dom": "^18.2.0",
|
|
"react-highlight": "^0.15.0",
|
|
"react-hot-toast": "^2.4.1",
|
|
"react-i18next": "^14.1.0",
|
|
"react-icons": "^5.0.1",
|
|
"react-markdown": "^9.0.1",
|
|
"react-redux": "^9.1.0",
|
|
"react-syntax-highlighter": "^15.5.0",
|
|
"tailwind-merge": "^2.2.2",
|
|
"vite": "^5.1.6",
|
|
"web-vitals": "^2.1.4"
|
|
},
|
|
"scripts": {
|
|
"start": "vite",
|
|
"build": "tsc && vite build",
|
|
"test": "vitest",
|
|
"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}",
|
|
"prepare": "cd .. && husky install frontend/.husky"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{ts,tsx,js}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/typography": "^0.5.12",
|
|
"@testing-library/jest-dom": "^6.4.2",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"@types/node": "^18.0.0 ",
|
|
"@types/react": "^18.2.66",
|
|
"@types/react-dom": "^18.2.22",
|
|
"@types/react-highlight": "^0.12.8",
|
|
"@types/react-syntax-highlighter": "^15.5.11",
|
|
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
"@typescript-eslint/parser": "^7.0.0",
|
|
"autoprefixer": "^10.4.19",
|
|
"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.8.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-react": "^7.34.1",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"husky": "^8.0.0",
|
|
"jsdom": "^24.0.0",
|
|
"lint-staged": "^15.2.2",
|
|
"postcss": "^8.4.38",
|
|
"prettier": "^3.2.5",
|
|
"tailwindcss": "^3.4.2",
|
|
"typescript": "^5.4.3",
|
|
"vite-tsconfig-paths": "^4.3.2",
|
|
"vitest": "^1.5.0"
|
|
},
|
|
"packageManager": "npm@10.5.0",
|
|
"volta": {
|
|
"node": "18.20.1"
|
|
}
|
|
}
|