Files
o2o-weather/frontend/package.json
T
minaChoi 2ab2271d61 refactor: 웹·앱 공통 코드를 shared 패키지로 분리 (npm workspaces)
- API 클라이언트·토큰 갱신·순수 함수를 shared/ (@nalssigak/shared) 로 옮김
- 토큰 저장소·API 주소는 configureApi 로 플랫폼에서 넣는다 (웹 localStorage)
- 루트 package.json 에 frontend·mobile·shared workspaces, lock 파일 하나로
- 웹 Docker 빌드 대상을 저장소 루트로 (compose context ., 루트 .dockerignore)
2026-10-14 14:27:47 +09:00

35 lines
828 B
JSON

{
"name": "frontend",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "oxlint",
"preview": "vite preview",
"api": "openapi-ts"
},
"dependencies": {
"@nalssigak/shared": "*",
"@tailwindcss/vite": "^4.3.3",
"@tanstack/react-query": "^5.104.0",
"embla-carousel-react": "^8.6.0",
"modern-screenshot": "^4.7.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-router": "^8.4.0",
"tailwindcss": "^4.3.3"
},
"devDependencies": {
"@hey-api/openapi-ts": "0.99.0",
"@types/node": "^24.13.3",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.7",
"@vitejs/plugin-react": "^6.1.1",
"oxlint": "^1.81.0",
"typescript": "~6.0.2",
"vite": "^8.3.0"
}
}