|
19 | 19 |
|
20 | 20 | ## Scripts |
21 | 21 |
|
22 | | -| Command | Description | |
23 | | -| ---------------------- | ------------------------------------------- | |
24 | | -| `npm run ci` | Run all checks (test + lint + format) | |
25 | | -| `npm run dev` | Run CI then prepare Firefox dev environment | |
26 | | -| `npm run all` | Run CI then build Chrome & Firefox packages | |
27 | | -| `npm test` | Run tests (Vitest) | |
28 | | -| `npm run prepare` | Setup Husky git hooks | |
29 | | -| `npm run lint` | Lint code (oxlint) | |
30 | | -| `npm run format` | Format code (oxfmt) | |
31 | | -| `npm run format:check` | Check code formatting | |
32 | | -| `npm run build` | Build Chrome and Firefox packages | |
33 | | -| `npm run dev:firefox` | Create Firefox dev environment | |
| 22 | +| Command | Description | |
| 23 | +| ---------------------- | ---------------------------------------------------- | |
| 24 | +| `npm run ci` | Run all checks (syntax + lint + format:check + test) | |
| 25 | +| `npm run dev` | Run CI then prepare Firefox dev environment | |
| 26 | +| `npm run all` | Run CI then build Chrome & Firefox packages | |
| 27 | +| `npm test` | Run tests (Vitest) | |
| 28 | +| `npm run prepare` | Setup Husky git hooks | |
| 29 | +| `npm run syntax` | Check source files for syntax errors | |
| 30 | +| `npm run lint` | Lint code (oxlint) | |
| 31 | +| `npm run format` | Format code (oxfmt) | |
| 32 | +| `npm run format:check` | Check code formatting | |
| 33 | +| `npm run build` | Build Chrome and Firefox packages | |
| 34 | +| `npm run dev:firefox` | Create Firefox dev environment | |
34 | 35 |
|
35 | 36 | ## Project Structure |
36 | 37 |
|
@@ -65,5 +66,5 @@ npm run dev:firefox |
65 | 66 |
|
66 | 67 | ```bash |
67 | 68 | npm test # Run all tests |
68 | | -npm run ci # Run tests + lint + format in one step |
| 69 | +npm run ci # Run syntax + lint + format:check + test in one step |
69 | 70 | ``` |
0 commit comments