1.1 KiB
1.1 KiB
Suggested Commands for SmartAntivirus Development
Build & Test Commands
pnpm test
- Run test suite with tapbundlepnpm build
- Build TypeScript to JavaScript (uses tsbuild)pnpm run buildDocs
- Generate documentation (tsdoc)
Development Tools
tsbuild check test/**/* --skiplibcheck
- Type-check test filestsx test/test.ts
- Run individual test file directly
Version Control
git mv <old> <new>
- Move/rename files preserving historygit status
- Check current changesgit diff
- View uncommitted changes
Package Management
pnpm install
- Install dependenciespnpm install --save-dev <package>
- Add dev dependencypnpm add <package>
- Add production dependency
File Operations
ls
- List directory contentscat <file>
- View file contentsfind . -name "*.ts"
- Find TypeScript filesrg <pattern>
- Search codebase with ripgrep
Docker Management (if testing locally)
docker ps
- List running containersdocker logs clamav
- View ClamAV container logsdocker stop clamav
- Stop ClamAV container