Run a Script
You can also manually run a script whenever you need using the CLI, to test its execution.
You can list the scripts available in the project directory by navigating to the directory and executing either of the following CLI commands:
The CLI will display the lifecycle and custom scripts that are configured and available for each component in the catalyst.json file.
You can directly run a script by executing the run command with the script’s name as shown below:
For example, to run the custom script packageJson , execute the following command from the project directory:
This will execute the packageJson script defined in the example.
Last Updated 2023-05-18 18:31:19 +0530 +0530
Send your feedback to us