- Added email field to user profile API and frontend components for better user identification. - Implemented PATCH /map/api/me endpoint to update user email, enhancing user experience. - Introduced useGravatarUrl composable for generating Gravatar URLs based on user email. - Updated profile and layout components to display user avatars using Gravatar, improving visual consistency. - Enhanced development documentation to guide testing of navbar and profile features.
43 lines
1022 B
JSON
43 lines
1022 B
JSON
{
|
|
"name": "hnh-map-frontend",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "nuxt build",
|
|
"dev": "nuxt dev",
|
|
"generate": "nuxt generate",
|
|
"preview": "nuxt preview",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"dependencies": {
|
|
"leaflet": "^1.9.4",
|
|
"md5": "^2.3.0",
|
|
"nuxt": "^3.21.1",
|
|
"vue": "^3.5.13",
|
|
"vue-router": "^4.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@nuxt/eslint": "^1.3.0",
|
|
"@nuxt/test-utils": "^4.0.0",
|
|
"@tailwindcss/vite": "^4.1.0",
|
|
"@types/leaflet": "^1.9.21",
|
|
"@vue/test-utils": "^2.4.6",
|
|
"daisyui": "^5.5.0",
|
|
"eslint": "^9.21.0",
|
|
"happy-dom": "^20.7.0",
|
|
"prettier": "^3.5.0",
|
|
"tailwindcss": "^4.1.0",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^4.0.0",
|
|
"vue-tsc": "^2.2.12"
|
|
}
|
|
}
|