#!/usr/bin/env bash
set -euo pipefail

ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$ROOT/SproutWorkCollect-Frontend"

if [ -f package-lock.json ]; then
  npm ci
else
  npm install
fi

npm run build
