First frontend commit
Change-Id: Ieab79fc7bf553cdce5384dadcdc03695c357eace
diff --git a/frontend/my-app/package.json b/frontend/my-app/package.json
index 76e8a48..cff4a25 100644
--- a/frontend/my-app/package.json
+++ b/frontend/my-app/package.json
@@ -6,22 +6,51 @@
"scripts": {
"dev": "vite",
"build": "vite build",
- "lint": "eslint .",
+ "lint": "eslint src --ext .js,.jsx",
+ "lint:fix": "eslint src --ext .js,.jsx --fix",
+ "format": "prettier --write .",
+ "test": "jest",
"preview": "vite preview"
},
"dependencies": {
+ "@emotion/react": "^11.14.0",
+ "@emotion/styled": "^11.14.0",
+ "@mui/icons-material": "^7.0.2",
+ "@mui/material": "^7.0.2",
"react": "^19.0.0",
- "react-dom": "^19.0.0"
+ "react-dom": "^19.0.0",
+ "react-router-dom": "^7.5.1"
},
"devDependencies": {
- "@eslint/js": "^9.21.0",
+ "@eslint/js": "^9.24.0",
+ "@testing-library/jest-dom": "^6.6.3",
+ "@testing-library/react": "^16.3.0",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react": "^4.3.4",
- "eslint": "^9.21.0",
+ "eslint": "^8.57.1",
+ "eslint-config-prettier": "^10.1.2",
+ "eslint-config-standard": "^17.1.0",
+ "eslint-plugin-import": "^2.31.0",
+ "eslint-plugin-n": "^16.6.2",
+ "eslint-plugin-promise": "^6.6.0",
+ "eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.19",
"globals": "^15.15.0",
- "vite": "^6.2.0"
+ "jest": "^29.7.0",
+ "msw": "^2.7.4",
+ "prettier": "^3.5.3",
+ "vite": "^6.2.0",
+ "whatwg-fetch": "^3.6.20"
+ },
+ "jest": {
+ "testEnvironment": "jsdom",
+ "setupFilesAfterEnv": [
+ "<rootDir>/src/setupTests.js"
+ ],
+ "moduleNameMapper": {
+ "\\.(css|less|scss|sass)$": "identity-obj-proxy"
}
}
+}