diff --git a/.eslintignore b/.eslintignore index 3a5ba3c..be9230b 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,6 +1,7 @@ buildRes/ dist/ node_modules/ +docs/ .idea/ .vscode/ diff --git a/.gitignore b/.gitignore index 00b1a6c..289f124 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,7 @@ TEST*.xml # Generated by Windows Thumbs.db -# Vuepress files +# VitePress files /docs/.vitepress/dist /docs/.vitepress/dist/* /docs/.vitepress/.temp diff --git a/.prettierignore b/.prettierignore index a0ee7cc..c36a55d 100644 --- a/.prettierignore +++ b/.prettierignore @@ -9,3 +9,4 @@ .github/ buildRes/ dist/ +docs/.vitepress/dist/ diff --git a/docs/3-npm-scripts.md b/docs/3-npm-scripts.md index b7a79fd..8ae9179 100644 --- a/docs/3-npm-scripts.md +++ b/docs/3-npm-scripts.md @@ -2,20 +2,20 @@ > npm run {SCRIPT_NAME} -| Script Name | Description | -|----------------|---------------------------------------------------------------------------------------------------------| -| `dev` | Start Electron as a development environment | -| `build` | Build a specified package for the entire operating system (Requires cross-platform build configuration) | -| `build:pre` | Commands commonly run at build time. This script does not need to be run separately. | -| `build:dir` | `electron-builder` directory build | -| `build:mac` | Build preconfigured packages for macOS | -| `build:linux` | Build preconfigured packages for Linux | -| `build:win` | Build preconfigured packages for Windows | -| `lint` | ESLint code inspection. It does not modify the code. | -| `lint:fix` | ESLint code inspection. Use auto-fix to fix your code. | -| `format` | Prettier code inspection. It does not modify the 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) | -| `docs:build` | Build a local document server. Used only for GitHub page builders. | -| `docs:serve` | Start the local document server. | +| Script Name | Description | +| --- | --- | +| `dev` | Start Electron as a development environment | +| `build` | Build a specified package for the entire operating system (Requires cross-platform build configuration) | +| `build:pre` | Commands commonly run at build time. This script does not need to be run separately. | +| `build:dir` | `electron-builder` directory build | +| `build:mac` | Build preconfigured packages for macOS | +| `build:linux` | Build preconfigured packages for Linux | +| `build:win` | Build preconfigured packages for Windows | +| `lint` | ESLint code inspection. It does not modify the code. | +| `lint:fix` | ESLint code inspection. Use auto-fix to fix your code. | +| `format` | Prettier code inspection. It does not modify the 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) | +| `docs:build` | Build a local document server. Used only for GitHub page builders. | +| `docs:serve` | Start the local document server. |