About this project

This repository is a log analysis and time slot initialization tool written in Node.js and TypeScript. Its main functions include analyzing log data to view results, initializing time slots, and performing V2 analysis. It uses pnpm as the package manager and provides various scripts. ## Main Scripts - `pnpm log`: View gacha results - `pnpm start`: Run src/main.ts with ts-node - `pnpm start:local`: Run start with NODE_ENV=local - `pnpm build`: Build with tsc (generates dist/) - `pnpm init-log-v2`: Run src/analyze.ts - `pnpm init-time-slot`: Run src/initTimeSlotByLog.ts - `pnpm analyze-for-v2`: Run src/analyzeForV2.ts - `pnpm init:local`: Sequentially run init-time-slot and analyze-for-v2 with NODE_ENV=local - `pnpm analyze:local`: Run analyze-for-v2 with NODE_ENV=local - `pnpm cron`: Run dist/cron/cron10.js with NODE_ENV=local (use after build) ## Format / Lint - `pnpm format`: biome format --write . (apply code formatting) - `pnpm lint`: biome check . (check formatting, import sorting, linting) ## Installation - Node.js: Refer to .nvmrc (nvm use) - Package manager: pnpm - Install: `pnpm install` ## Deployment Deployed to https://justacker.github.io/play/ via GitHub Pages.