This project consists of two sub-projects: move-simulator-vscode
and move-simulator-server
. Below are the instructions on how to use the scripts defined in the root package.json
to manage these sub-projects.
npm run start:vscode
: This command navigates to themove-simulator-vscode
directory and starts the application.npm run start:server
: This command navigates to themove-simulator-server
directory and starts the server.npm run start:all
: This command starts both themove-simulator-vscode
andmove-simulator-server
applications concurrently.
npm run build:vscode
: This command navigates to themove-simulator-vscode
directory and builds the application.npm run build:server
: This command navigates to themove-simulator-server
directory and builds the server.npm run build:all
: This command builds both themove-simulator-vscode
andmove-simulator-server
applications sequentially.
npm run test:vscode
: This command navigates to themove-simulator-vscode
directory and runs the tests.npm run test:server
: This command navigates to themove-simulator-server
directory and runs the tests.npm run test:all
: This command runs tests for both themove-simulator-vscode
andmove-simulator-server
applications sequentially.
- After cloning the repository, open the move-simulator-vscode folder in a new VS Code tab.
- Run the command to install packages.
npm run install:all
- Run the command to build the webview.
npm run webview:build
- Press F5 to debug the extension.
- Ensure you have Node.js installed on your system. You can download it from Node.js official website.
- Before running any scripts, make sure to install the necessary dependencies by running
npm install
in the root directory and in each sub-project directory.
For more detailed information about each sub-project, refer to their respective README files.