docs: update npm-scripts.md

This commit is contained in:
leejooy96 committed 2023-03-08 13:32:32 +09:00
1 parent e85cece398
commit 763aadd452
1 file changed
+14 -5
+14 -5
View File
@@ -1,6 +1,8 @@
# Npm Scripts # Npm Scripts
> npm run {SCRIPT_NAME} > $ npm run %SCRIPT_NAME%
## General
| Script Name | Description | | Script Name | Description |
| --- | --- | | --- | --- |
@@ -17,7 +19,14 @@
| `lint:fix` | ESLint code inspection. Use auto-fix to fix your code. | | `lint:fix` | ESLint code inspection. Use auto-fix to fix your code. |
| `format` | Prettier code inspection. It does not modify the code. | | `format` | Prettier code inspection. It does not modify the code. |
| `format:fix` | Prettier code inspection. Use auto-fix to fix your code. | | `format:fix` | Prettier code inspection. Use auto-fix to fix your code. |
| `docs:install` | Install VitePress and related plugins for your local documentation environment. |
| `docs:dev` | Start the local document server. (For development) | ## For Documentation
| `docs:build` | Build a local document server. Used only for GitHub page builders. |
| `docs:serve` | Start the local document server. | Used only for contributing to project documentation. Must be run from the `docs` directory location.
| Script Name | Description |
| ----------- | ------------------------------------------------------------------------------- |
| `install` | Install VitePress and related plugins for your local documentation environment. |
| `dev` | Start the local document server. (For development) |
| `build` | Build a local document server. Used only for GitHub page builders. |
| `serve` | Start the local document server. |