- src/analytics.ts: initAnalytics / trackGameEvent 유틸 추가 - _app.tsx: 앱 시작 시 Analytics.init 호출 - pages/index.tsx: app_open 이벤트 (플랫폼 시간, 보유 원소 수, 골드, 강화 레벨 합계) - FusionScreen: fusion_completed (결과 tier/name, 골드 획득, 재료 ID) - EvolutionScreen: enhancement_completed + level_up (원소 ID/이름, 새 레벨, 비용) - ShopScreen: item_purchased (아이템 ID/이름, 가격, 희귀도) - OfflineRewardModal: offline_reward_claimed (오프라인 시간, 골드, 원소 종류 수) - package.json: @apps-in-toss/analytics ^2.3.0 명시적 추가 Co-Authored-By: Paperclip <noreply@paperclip.ing>
23 lines
654 B
JSON
23 lines
654 B
JSON
{
|
|
"name": "archetype-firstspark",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "chcp 65001 >nul 2>&1 && node node_modules/@granite-js/react-native/bin/cli.js dev",
|
|
"build": "chcp 65001 >nul 2>&1 && ait build",
|
|
"deploy": "chcp 65001 >nul 2>&1 && ait deploy"
|
|
},
|
|
"dependencies": {
|
|
"@apps-in-toss/analytics": "^2.3.0",
|
|
"@apps-in-toss/web-framework": "^2.3.0",
|
|
"@emotion/react": "^11.14.0",
|
|
"@toss/tds-colors": "^0.1.0",
|
|
"@toss/tds-mobile": "^2.3.0",
|
|
"@toss/tds-mobile-ait": "^2.3.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-native": "^0.84.1",
|
|
"zustand": "^5.0.12"
|
|
}
|
|
}
|