ship-gis/package.json
htlee 4c7bd42b42 refactor: 관심구역, 측정, 미니맵 MapLibre 전환 + OpenLayers 제거 (Session E, F, H)
- Session E: 관심구역 폴리곤 + 추적 반경원 MapLibre GeoJSON 레이어로 전환
  - useRealmLayer: OL VectorLayer → MapLibre fill/line layer
  - useTrackingMode: 반경 원 @turf/circle → GeoJSON source
- Session F: 측정 도구 MapLibre 커스텀 구현
  - useMeasure: OL Draw/Overlay → MapLibre Marker + GeoJSON layer
  - 거리/면적: @turf/distance, @turf/length, @turf/area
  - 툴 믹싱 지원, 세션 persistence
- Session H: 미니맵 MapLibre 전환 + OpenLayers 완전 제거
  - VesselDetailModal/StsContactDetailModal: OL 임베디드 맵 → MapLibre 7개 레이어
  - mapStore: map 타입 any → maplibregl.Map | null
  - csvDownload: OL Polygon → Turf.js booleanPointInPolygon
  - package.json: ol, ol-ext 제거 (~500KB 감소)
  - main.tsx: OL CSS 제거
  - 6개 OL 파일 @ts-nocheck 추가 (Session G 패스)

검증: yarn type-check, yarn lint, yarn build 통과

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 17:28:24 +09:00

52 lines
1.4 KiB
JSON

{
"name": "dark",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite --port 3000",
"build": "tsc -b && vite build",
"build:dev": "tsc -b && vite build --mode dev",
"build:qa": "tsc -b && vite build --mode qa",
"build:prod": "tsc -b && vite build",
"preview": "vite preview --port 3000",
"preview:dev": "vite preview --mode dev --port 3000",
"preview:qa": "vite preview --mode qa --port 3000",
"type-check": "tsc -b --noEmit",
"lint": "eslint src"
},
"dependencies": {
"@deck.gl/core": "^9.2.6",
"@deck.gl/extensions": "^9.2.6",
"@deck.gl/geo-layers": "^9.2.6",
"@deck.gl/layers": "^9.2.6",
"@deck.gl/mapbox": "^9.2.7",
"@deck.gl/mesh-layers": "^9.2.6",
"@stomp/stompjs": "^7.2.1",
"@turf/turf": "^7.3.4",
"axios": "^1.4.0",
"dayjs": "^1.11.11",
"html2canvas": "^1.4.1",
"maplibre-gl": "^5.18.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-router-dom": "^6.30.3",
"zustand": "^5"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/node": "^22.10.5",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.4",
"eslint": "^9.39.2",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.2.0",
"sass": "^1.97.3",
"typescript": "~5.7.2",
"typescript-eslint": "^8.55.0",
"vite": "^7.3.1"
}
}