docs: align README command list with package scripts (#299)
Co-authored-by: slicenfer <16222938+slicenfer@user.noreply.gitee.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
b6adf58f0f
commit
c5058908af
@@ -287,22 +287,19 @@ ClawX/
|
||||
|
||||
```bash
|
||||
# Development
|
||||
pnpm run init # Install dependencies + download uv
|
||||
pnpm dev # Start with hot reload
|
||||
pnpm dev:electron # Launch Electron directly
|
||||
|
||||
# Quality
|
||||
pnpm lint # Run ESLint
|
||||
pnpm lint:fix # Auto-fix issues
|
||||
pnpm typecheck # TypeScript validation
|
||||
|
||||
# Testing
|
||||
pnpm test # Run unit tests
|
||||
pnpm test:watch # Watch mode
|
||||
pnpm test:coverage # Generate coverage report
|
||||
pnpm test:e2e # Run Playwright E2E tests
|
||||
|
||||
# Build & Package
|
||||
pnpm build # Full production build
|
||||
pnpm run build:vite # Build frontend only
|
||||
pnpm build # Full production build (with packaging assets)
|
||||
pnpm package # Package for current platform
|
||||
pnpm package:mac # Package for macOS
|
||||
pnpm package:win # Package for Windows
|
||||
|
||||
Reference in New Issue
Block a user