-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 15.8 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) · 15.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "maple-timer",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"prebuild": "npm run verify:architecture",
"build": "MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_ARM=0 MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_BUILD_MODE= MAPLE_TIMER_REMOTE_RECOGNITION_V1_REVIEWED_COMMIT= MAPLE_TIMER_REMOTE_RECOGNITION_V1_REVIEWED_BRANCH= MAPLE_TIMER_REMOTE_RECOGNITION_V1_SEMANTIC_LAB=0 MAPLE_TIMER_REMOTE_RECOGNITION_V1_SEMANTIC_LAB_MODE= MAPLE_TIMER_REMOTE_RECOGNITION_V1_SEMANTIC_LAB_TEST_ONLY=0 npm run build:app",
"build:app": "tsc -b && vite build",
"build:remote-v1:checked": "MAPLE_TIMER_REMOTE_RECOGNITION_V1_SEMANTIC_LAB=0 MAPLE_TIMER_REMOTE_RECOGNITION_V1_SEMANTIC_LAB_MODE= MAPLE_TIMER_REMOTE_RECOGNITION_V1_SEMANTIC_LAB_TEST_ONLY=0 npm run prebuild && MAPLE_TIMER_REMOTE_RECOGNITION_V1_SEMANTIC_LAB=0 MAPLE_TIMER_REMOTE_RECOGNITION_V1_SEMANTIC_LAB_MODE= MAPLE_TIMER_REMOTE_RECOGNITION_V1_SEMANTIC_LAB_TEST_ONLY=0 npm run build:app",
"preview": "vite preview",
"build:cloudflare:preview": "MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_ARM=0 MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_BUILD_MODE= MAPLE_TIMER_REMOTE_RECOGNITION_V1_REVIEWED_COMMIT= MAPLE_TIMER_REMOTE_RECOGNITION_V1_REVIEWED_BRANCH= VITE_APP_CHANNEL=preview VITE_APP_DEPLOYMENT_URL=https://preview.maple-timer.pages.dev npm run build",
"build:cloudflare:preview:remote-v1": "MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_ARM=1 MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_BUILD_MODE=reviewed-preview VITE_APP_CHANNEL=preview VITE_APP_DEPLOYMENT_URL=https://preview.maple-timer.pages.dev npm run build:remote-v1:checked",
"build:cloudflare:production": "MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_ARM=0 MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_BUILD_MODE= MAPLE_TIMER_REMOTE_RECOGNITION_V1_REVIEWED_COMMIT= MAPLE_TIMER_REMOTE_RECOGNITION_V1_REVIEWED_BRANCH= VITE_APP_CHANNEL=production VITE_APP_DEPLOYMENT_URL=https://maple-timer.com VITE_GA_MEASUREMENT_ID=G-3WHR49J7H2 npm run build",
"preview:cloudflare": "npm run build:cloudflare:preview && npx wrangler pages dev dist",
"cleanup:cloudflare-deployments": "node scripts/cleanup-cloudflare-pages-deployments.mjs",
"preflight:cloudflare:preview": "MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_ARM=0 MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_BUILD_MODE= node scripts/verify-cloudflare-deployment.mjs --preflight --channel preview --remote-recognition-v1-test-arm false",
"preflight:cloudflare:preview:remote-v1": "MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_ARM=1 MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_BUILD_MODE=reviewed-preview node scripts/verify-cloudflare-deployment.mjs --preflight --channel preview --remote-recognition-v1-test-arm true",
"preflight:cloudflare:production": "MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_ARM=0 MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_BUILD_MODE= node scripts/verify-cloudflare-deployment.mjs --preflight --channel production --remote-recognition-v1-test-arm false",
"verify:cloudflare:preview": "MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_ARM=0 MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_BUILD_MODE= node scripts/verify-cloudflare-deployment.mjs --channel preview --url https://preview.maple-timer.pages.dev --remote-recognition-v1-test-arm false",
"verify:cloudflare:preview:remote-v1": "MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_ARM=1 MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_BUILD_MODE=reviewed-preview node scripts/verify-cloudflare-deployment.mjs --channel preview --url https://preview.maple-timer.pages.dev --remote-recognition-v1-test-arm true",
"verify:cloudflare:production": "MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_ARM=0 MAPLE_TIMER_REMOTE_RECOGNITION_V1_TEST_BUILD_MODE= node scripts/verify-cloudflare-deployment.mjs --channel production --url https://maple-timer.com --remote-recognition-v1-test-arm false",
"deploy:cloudflare:preview": "npm run preflight:cloudflare:preview && npm run build:cloudflare:preview && npx wrangler pages deploy dist --project-name maple-timer --branch preview && npm run verify:cloudflare:preview && npm run cleanup:cloudflare-deployments -- --execute",
"deploy:cloudflare:preview:remote-v1": "npm run preflight:cloudflare:preview:remote-v1 && npm run build:cloudflare:preview:remote-v1 && npx wrangler pages deploy dist --project-name maple-timer --branch preview && npm run verify:cloudflare:preview:remote-v1 && npm run cleanup:cloudflare-deployments -- --execute",
"deploy:cloudflare": "npm run preflight:cloudflare:production && npm run build:cloudflare:production && npx wrangler pages deploy dist --project-name maple-timer && npm run verify:cloudflare:production && npm run cleanup:cloudflare-deployments -- --execute",
"supporters:update": "node scripts/update-supporters.mjs",
"audit:ga": "node scripts/audit-ga.mjs",
"audit:special-core": "npx tsx scripts/audit-special-core-runtime.ts",
"audit:rune-onnx": "npx tsx scripts/audit-rune-onnx-runtime.ts",
"rune:export-cnn-candidates": "npx tsx scripts/export-rune-cnn-candidates.ts",
"rune:complete-cnn-labels": "npx tsx scripts/complete-rune-cnn-labels.ts",
"rune:audit-cnn-labels": "npx tsx scripts/audit-rune-cnn-labels.ts",
"buff-expiry:prepare-video-manifest": "node scripts/prepare-video-frame-manifest.mjs",
"buff-expiry:audit-video": "npm run audit:buff-expiry-video",
"buff-expiry:audit-video:custom": "npx tsx scripts/audit-buff-expiry-video-samples.ts",
"buff-expiry:events-html": "node scripts/render-buff-expiry-video-events-html.mjs",
"audit:buff-expiry-runtime": "npm run audit:buff-expiry-precision",
"audit:buff-expiry-smoke": "BUFF_EXPIRY_MATRIX_SELECTED_BUFF_IDS=union_wealth_group,union_luck_group,small_wealth_exp_potion_group,exp_multiplier_coupon_group,bonus_exp_coupon_group npx tsx scripts/audit-buff-expiry-video-matrix.ts debug-samples/test-resources/buff-expiry/video/local-1fps/all_supported_buffs_01_plain_3x_coupon",
"audit:buff-expiry-video": "npm run audit:buff-expiry-precision",
"audit:buff-expiry-precision": "npx tsx scripts/audit-buff-expiry-precision-1fps.ts debug-samples/test-resources/buff-expiry/video/local-1fps --strict",
"audit:buff-expiry-legacy-runtime-feedback": "npx tsx scripts/audit-buff-expiry-runtime-feedback.mjs debug-samples/test-resources/buff-expiry --strict",
"audit:buff-expiry-legacy-video": "npx tsx scripts/audit-buff-expiry-video-samples.ts debug-samples/test-resources/buff-expiry/video/evidence1_1fps debug-samples/test-resources/buff-expiry/video/local-1fps",
"audit:buff-expiry-video-matrix": "npx tsx scripts/audit-buff-expiry-video-matrix.ts debug-samples/test-resources/buff-expiry/video/local-1fps",
"verify:architecture": "node scripts/check-architecture-boundaries.mjs",
"test": "vitest run",
"test:architecture": "vitest run scripts/check-architecture-boundaries.test.mjs src/runtime/monitoring src/app/modals src/app/reporting src/app/monitoring/monitoringSectionCollapse.test.ts src/application/reporting src/features/alerts/shared/useAlertDisableSnapshot.test.tsx src/features/alerts/shared/useAlertControlsController.test.tsx src/features/settings/useSettingsPresetController.test.tsx src/features/region-picker/useRegionPickerController.test.tsx src/features/reports/useIssueReportController.test.tsx src/features/alerts/runtime/useMonitoringLoop.core.test.tsx",
"test:alerts": "vitest run src/app/monitoring src/features/alerts src/recognition/cooldown-digit src/recognition/template-digit src/recognition/skill-precision src/runtime/skill-precision/analysis src/platform/runtime-workers/skill-precision src/lib/recognition.test.ts src/lib/skillBuffDuration src/shared/components/CompactMetricCell.test.tsx src/lib/alert.test.ts src/lib/audioPlayback.test.ts src/lib/volume.test.ts",
"test:app-shell": "vitest run src/app/modals src/application/pip src/features/app-shell src/platform/document-pip src/lib/onboarding.test.ts src/lib/responsibilityNotice.test.ts src/lib/theme.test.ts",
"test:booster-expiry": "vitest run src/runtime/monitoring/monitoringFrameBinding.test.ts src/runtime/booster-expiry/evidence src/features/alerts/booster-expiry src/features/alerts/runtime/boosterExpirySampleProcessor.test.ts src/features/alerts/runtime/useMonitoringLoop.huntBooster.test.tsx src/recognition/booster-expiry src/platform/runtime-workers/booster-expiry src/lib/boosterExpiry",
"test:buff-expiry": "vitest run src/contracts/recognition/buffExpiryRecognition.test.ts src/domain/buff-expiry src/lib/buffExpiry src/lib/buffExpiryPrecision src/recognition/buff-expiry src/recognition/buff-slot src/runtime/buff-slot/analysis src/runtime/buff-expiry/analysis src/runtime/buff-expiry/evidence src/platform/frame-capture/buff-expiry src/platform/runtime-workers/buff-slot-analysis src/platform/runtime-workers/buff-expiry src/features/alerts/buff-expiry src/features/alerts/runtime/buffExpiry src/features/alerts/runtime/useBuffExpiryAlertScheduler.test.tsx src/features/alerts/runtime/useMonitoringLoop.buffExpiry.test.tsx src/features/reports/buffExpiryIssueReportPayload.test.ts src/features/reports/useBuffExpiryAlertReports.test.tsx src/features/debug/troubleshooter/recognition/runners/buffExpiry.test.ts",
"test:buff-slot": "vitest run src/recognition/buff-slot src/runtime/buff-slot/analysis src/platform/runtime-workers/buff-slot-analysis src/platform/browser-diagnostics src/lib/buffSlotParser src/runtime/skill-precision/analysis src/platform/runtime-workers/skill-precision src/runtime/buff-expiry/analysis/buffExpiryPrecisionAnalysisProcessor.test.ts src/runtime/special-core/analysis/specialCoreAnalysisProcessor.test.ts src/features/alerts/runtime/useSharedBuffSlotAnalysis.test.tsx src/features/alerts/runtime/useMonitoringLoop.core.test.tsx",
"test:capture": "vitest run src/features/capture src/features/region-picker src/platform/frame-capture src/lib/capture.test.ts src/lib/regions.test.ts",
"test:custom-sounds": "vitest run src/features/custom-sounds src/shared/components/SoundPicker.test.tsx src/lib/customSounds.test.ts src/lib/customSoundReferences.test.ts src/lib/sounds.test.ts src/lib/audioPlayback.test.ts src/lib/volume.test.ts",
"test:deployment": "vitest run scripts/release-notes-feed.test.ts scripts/verify-cloudflare-deployment.test.mjs src/contracts/deployment src/runtime/runtime-assets src/platform/runtime-build src/platform/runtime-assets src/platform/runtime-workers",
"test:general-timer": "vitest run src/domain/general-timer src/features/general-timer src/platform/runtime-workers/general-timer src/shared/components/CompactMetricCell.test.tsx src/lib/timer.test.ts src/lib/timerAnchors.test.ts src/lib/timerCooldown.test.ts",
"test:hunt-stall": "vitest run src/runtime/monitoring/monitoringFrameBinding.test.ts src/runtime/hunt-stall/evidence src/runtime/hunt-stall/experience src/features/alerts/hunt-stall src/features/alerts/runtime/huntStallSampleProcessor.test.ts src/features/alerts/runtime/useHuntStallSampleLoop.test.ts src/features/alerts/runtime/useMonitoringLoop.huntStallFrameBinding.test.tsx src/features/alerts/runtime/useMonitoringLoop.huntStallRepeat.test.tsx src/features/reports/huntStallIssueReportPayload.test.ts src/features/reports/useHuntStallAlertReports.test.tsx src/recognition/cooldown-digit src/recognition/hunt-stall/cooldown src/recognition/hunt-stall/experience src/recognition/template-digit src/platform/runtime-workers/hunt-stall-cooldown src/platform/runtime-workers/hunt-stall-experience src/lib/experienceOcrRegionSampling.test.ts src/lib/huntStallCooldownPresenceRuntime.test.ts src/lib/huntStallOcrSampling.test.ts src/lib/huntStallExperienceText.test.ts src/lib/huntStallManualExperienceRuntime.test.ts src/lib/huntStallOcrDiagnostics.test.ts src/lib/huntStallOcrFixedRegions.test.ts",
"test:reports": "vitest run src/contracts/reporting src/app/reporting src/application/reporting src/features/reports functions/api",
"test:remote-recognition-control": "vitest run src/contracts/remote-recognition src/application/remote-recognition src/platform/remote-recognition src/features/remote-recognition src/app/remote-recognition src/runtime/buff-slot/analysis/precisionParserInputTransport.test.ts src/features/alerts/runtime/useSharedBuffSlotAnalysis.test.tsx src/features/alerts/runtime/useSharedBuffSlotAnalysis.v1Fault.test.tsx src/app/modals/AppModalHost.test.tsx src/app/monitoring/MonitoringWorkspace.test.tsx",
"test:remote-recognition-v1-artifacts": "vitest run scripts/remote-recognition-v1",
"remote:v1:verify": "node scripts/remote-recognition-v1/verify.mjs",
"remote:v1:validate-semantic-fixtures": "node scripts/remote-recognition-v1/validate-semantic-fixtures.mjs",
"remote:v1:semantic-lab:browser-preflight": "node scripts/remote-recognition-v1/semantic-lab-browser-preflight.mjs",
"test:rune": "vitest run src/features/alerts/rune src/features/alerts/runtime/runeFrameProcessor.test.ts src/features/alerts/runtime/useMonitoringLoop.skillRune.test.tsx src/features/reports/runeIssueReportPayload.test.ts src/features/reports/runeReportSnapshot.test.ts src/features/debug/troubleshooter/model/buildTroubleshooterViewModel.test.ts src/features/debug/troubleshooter/recognition/runners/rune.test.ts src/lib/audioPlayback.test.ts src/lib/runeAlert.test.ts src/lib/runeCandidateCnnCrop.test.ts src/lib/runeCandidateImage.test.ts src/lib/runeComponents.test.ts src/lib/runeDetection.test.ts src/lib/runeDetectionFeedbackSamples.test.ts src/platform/runtime-workers/rune/runeDetectionWorkerClient.test.ts src/lib/runeIssueSnapshot.test.ts src/lib/runeMask.test.ts src/recognition/rune/runeOnnxContract.test.ts src/lib/runeRuntimeIncidentEvidence.test.ts src/lib/runeSceneIdentity.test.ts",
"test:ultima-raid-equipment": "vitest run src/recognition/ultima-raid-equipment src/runtime/ultima-raid-equipment src/features/alerts/ultima-raid-equipment src/features/alerts/runtime/ultimaRaidEquipmentFrameProcessor.test.ts src/features/alerts/runtime/useMonitoringLoop.ultimaRaidEquipment.test.tsx src/features/alerts/runtime/monitoringJobs.test.ts src/features/debug/troubleshooter/recognition/runners/ultimaRaidEquipment.test.ts src/lib/profileNormalization.ultimaRaid.test.ts src/features/region-picker/useRegionPickerController.test.tsx src/features/alerts/shared/useAlertControlsController.test.tsx src/app/monitoring/MonitoringWorkspace.test.tsx src/app/modals/AppModalHost.test.tsx",
"test:special-core": "vitest run src/runtime/monitoring src/runtime/special-core/analysis src/runtime/special-core/evidence src/platform/runtime-workers/special-core src/recognition/special-core src/lib/specialCore src/lib/alertOffset.test.ts src/features/alerts/special-core src/features/alerts/runtime/specialCoreWarmTrace.test.ts src/features/alerts/runtime/useMonitoringLoop.core.test.tsx src/features/alerts/runtime/useSpecialCoreAlertScheduler.test.tsx src/features/reports/specialCoreIssueReportPayload.test.ts src/features/debug/troubleshooter/recognition/runners/specialCore.test.ts",
"test:settings": "vitest run src/contracts/persistence src/application/profile src/platform/browser-storage src/features/settings src/features/profile src/lib/skillRuntimeConfig.test.ts src/lib/skillRuntimeSettings.test.ts src/lib/alertConfigReset.test.ts",
"test:watch": "vitest"
},
"dependencies": {
"@astryxdesign/core": "^0.1.3",
"@astryxdesign/theme-neutral": "^0.1.3",
"@fontsource/ibm-plex-mono": "^5.2.7",
"@number-flow/react": "^0.6.0",
"@vitejs/plugin-react": "^5.1.1",
"lucide-react": "^0.468.0",
"motion": "^12.40.0",
"onnxruntime-web": "^1.27.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"sonner": "^2.0.7",
"vite": "^6.0.5"
},
"devDependencies": {
"@astryxdesign/cli": "^0.1.3",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/pngjs": "^6.0.5",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"jsdom": "^25.0.1",
"playwright-core": "1.62.1",
"pngjs": "^7.0.0",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
}
}