Files
web-page/package.json
gahusb d4ec482289 여행 탭 develop
- 지도 추가
 - 지도 매칭하여 해당 여행 사진 매칭
 - 사진 클릭시 모달로 사진 렌더링 (lazy, cache, thumb 사용)
2026-01-20 03:20:16 +09:00

35 lines
1.2 KiB
JSON

{
"name": "web-ui",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"clean": "rimraf dist",
"build": "npm run clean && vite build",
"deploy:nas": "powershell -NoProfile -ExecutionPolicy Bypass -Command \"$ErrorActionPreference='Stop'; $src='dist'; $dst='Z:\\\\docker\\\\webpage\\\\frontend\\\\'; if(!(Test-Path $src)){ throw 'dist not found. Run build first.' }; if(!(Test-Path $dst)){ throw 'NAS drive not found. Check Z: mapping.' }; robocopy $src $dst /MIR /R:1 /W:1 /E /NFL /NDL /NP; if($LASTEXITCODE -ge 8){ exit $LASTEXITCODE }\"",
"release:nas": "npm run build && npm run deploy:nas",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"leaflet": "^1.9.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-leaflet": "^4.2.1",
"react-router-dom": "^6.30.3"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@vitejs/plugin-react": "^5.1.1",
"eslint": "^9.39.1",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.24",
"globals": "^16.5.0",
"rimraf": "^6.1.2",
"vite": "^7.2.4"
}
}