mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
78 lines
2.0 KiB
JSON
78 lines
2.0 KiB
JSON
{
|
|
"name": "opendevin-frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@testing-library/jest-dom": "^5.17.0",
|
|
"@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-syntax-highlighter": "^15.5.11",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"@xterm/xterm": "^5.4.0",
|
|
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-syntax-highlighter": "^15.5.0",
|
|
"typescript": "^4.9.5",
|
|
"vite": "^5.1.6",
|
|
"vite-tsconfig-paths": "^4.3.2",
|
|
"web-vitals": "^2.1.4",
|
|
"xterm-addon-attach": "^0.9.0",
|
|
"xterm-addon-fit": "^0.8.0"
|
|
},
|
|
"scripts": {
|
|
"start": "vite",
|
|
"build": "tsc && vite build",
|
|
"test": "jest",
|
|
"preview": "vite preview",
|
|
"lint": "eslint src/**/*.ts* && prettier --check src/**/*.ts*",
|
|
"prepare": "cd .. && husky install frontend/.husky"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.ts*": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
]
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest/presets/js-with-ts",
|
|
"testEnvironment": "jest-environment-jsdom",
|
|
"modulePaths": [
|
|
"<rootDir>/src"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.12",
|
|
"@typescript-eslint/parser": "^7.0.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"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",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"lint-staged": "^15.2.2",
|
|
"prettier": "^3.2.5",
|
|
"ts-jest": "^29.1.2"
|
|
}
|
|
}
|