#!/bin/bash

set -e

git config --global --add safe.directory "$(dirname -- "$(realpath -- "$PWD")")"

composer require --no-scripts \
    guzzlehttp/guzzle opensearch-project/opensearch-php phpoffice/phpspreadsheet aws/aws-sdk-php firebase/php-jwt casbin/casbin godruoyi/php-snowflake intervention/image mustache/mustache php-amqplib/php-amqplib php-ffmpeg/php-ffmpeg predis/predis league/flysystem-aws-s3-v3

npm install --save \
    bootstrap bulma @material/web \
    @tabler/core @tabler/icons @tabler/icons-webfont \
    @fortawesome/fontawesome-free dayjs \
    marked dompurify jsdom

echo 'done.'
exit 0
