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 2026-08-17 17:46:04 +0530 IST
Yes
No
Send your feedback to us
