mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 21:02:28 +00:00
docs: align build instructions and lint scope with codebase behavior
Updates CONTRIBUTING.md and README.md to accurately reflect that: - `npm start` builds to and serves the `dist/` directory. - `npm run format` targets CSS, HTML, MD, and config (not JS logic). - `npm run lint` targets styles, tokens, and hex codes (no ESLint). - Manual build steps should serve `dist` via `npx serve dist`. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
f68c407771
commit
a3cc4a7456
2 files changed
+7
-6
No files matched your search
@@ -164,13 +164,13 @@ To run **bitvid** locally:
|
||||
http://localhost:3000
|
||||
```
|
||||
|
||||
_Note: If you prefer manual steps, you can run `npm run build` followed by `npx serve` or `python -m http.server 8000`._
|
||||
_Note: If you prefer manual steps, you can run `npm run build` followed by `npx serve dist`._
|
||||
|
||||
#### Quick Reference
|
||||
|
||||
- **Run unit tests**: `npm run test:unit`
|
||||
- **Format code**: `npm run format`
|
||||
- **Lint code**: `npm run lint`
|
||||
- **Format code**: `npm run format` (CSS, HTML, MD, Config)
|
||||
- **Lint code**: `npm run lint` (Styles, Tokens, Hex - no JS logic)
|
||||
|
||||
### Dev Container
|
||||
|
||||
|
||||
Reference in new issue
Block a user