31 lines
1.1 KiB
Markdown
31 lines
1.1 KiB
Markdown
|
# Suggested Commands for SmartAntivirus Development
|
||
|
|
||
|
## Build & Test Commands
|
||
|
- `pnpm test` - Run test suite with tapbundle
|
||
|
- `pnpm build` - Build TypeScript to JavaScript (uses tsbuild)
|
||
|
- `pnpm run buildDocs` - Generate documentation (tsdoc)
|
||
|
|
||
|
## Development Tools
|
||
|
- `tsbuild check test/**/* --skiplibcheck` - Type-check test files
|
||
|
- `tsx test/test.ts` - Run individual test file directly
|
||
|
|
||
|
## Version Control
|
||
|
- `git mv <old> <new>` - Move/rename files preserving history
|
||
|
- `git status` - Check current changes
|
||
|
- `git diff` - View uncommitted changes
|
||
|
|
||
|
## Package Management
|
||
|
- `pnpm install` - Install dependencies
|
||
|
- `pnpm install --save-dev <package>` - Add dev dependency
|
||
|
- `pnpm add <package>` - Add production dependency
|
||
|
|
||
|
## File Operations
|
||
|
- `ls` - List directory contents
|
||
|
- `cat <file>` - View file contents
|
||
|
- `find . -name "*.ts"` - Find TypeScript files
|
||
|
- `rg <pattern>` - Search codebase with ripgrep
|
||
|
|
||
|
## Docker Management (if testing locally)
|
||
|
- `docker ps` - List running containers
|
||
|
- `docker logs clamav` - View ClamAV container logs
|
||
|
- `docker stop clamav` - Stop ClamAV container
|