From a698b513c2f4a12bc2ee67ea5e43548b1e32a422 Mon Sep 17 00:00:00 2001 From: choidabom Date: Wed, 9 Oct 2024 22:37:07 +0900 Subject: [PATCH] Fix frontend, backend readme.md --- backend/README.md | 8 ++++---- frontend/README.md | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/backend/README.md b/backend/README.md index 682cc318..88313bb0 100644 --- a/backend/README.md +++ b/backend/README.md @@ -51,7 +51,7 @@ You can access the Swagger-based REST API specification at `/api` when ### Building the Project: ```bash -pnpm run build +pnpm backend build ``` Builds the project. @@ -59,7 +59,7 @@ Builds the project. ### Linting the Code: ```bash -pnpm run lint +pnpm backend lint ``` Lints TypeScript files using ESLint. Fixes any fixable linting errors. @@ -67,7 +67,7 @@ Lints TypeScript files using ESLint. Fixes any fixable linting errors. ### Testing: ```bash -pnpm test +pnpm backend test ``` Runs unit tests using Jest. @@ -75,7 +75,7 @@ Runs unit tests using Jest. ### Running in Production: ```bash -pnpm start +pnpm backend start ``` Starts the server in production mode. diff --git a/frontend/README.md b/frontend/README.md index 8532709a..7385dad4 100755 --- a/frontend/README.md +++ b/frontend/README.md @@ -47,7 +47,7 @@ This project is the frontend part of the CodePair service developed using Vite a ### Running the Development Server: ```bash -pnpm run dev +pnpm frontend dev ``` Starts the development server using Vite. @@ -55,7 +55,7 @@ Starts the development server using Vite. ### Building the Project: ```bash -pnpm run build +pnpm frontend build ``` Compiles TypeScript files (`tsc`) and builds the project using Vite. @@ -63,7 +63,7 @@ Compiles TypeScript files (`tsc`) and builds the project using Vite. ### Linting the Code: ```bash -pnpm run lint +pnpm frontend lint ``` Lints TypeScript and TypeScript React files using ESLint. Reports any linting errors or warnings. @@ -71,7 +71,7 @@ Lints TypeScript and TypeScript React files using ESLint. Reports any linting er ### Previewing the Production Build: ```bash -pnpm run preview +pnpm frontend preview ``` Previews the production build of the project using Vite. @@ -79,7 +79,7 @@ Previews the production build of the project using Vite. ### Formatting the Code: ```bash -pnpm run format +pnpm frontend format ``` Formats the code using Prettier according to project configurations. Automatically fixes any formatting issues. @@ -87,7 +87,7 @@ Formats the code using Prettier according to project configurations. Automatical ### Checking Code Formatting: ```bash -pnpm run format:check +pnpm frontend format:check ``` Checks if the code is formatted correctly according to Prettier configurations. Reports any formatting issues without fixing them.