Run the following command for development environment.
composer update
npm install
npm run build
Run the following command for production environment to ignore the dev dependencies.
composer update --no-dev
npm install
npm run build
Set execution permission to the script file by chmod +x bin/build.sh
command. Now, Run the following bash script.
bin/build.sh