allegro/scripts/setup-node.sh

14 lines
254 B
Bash
Executable file

#!/usr/bin/env bash
# Installs the required Node packages
if [ -d ./node_modules ]
then
echo "$(basename $0): node_modules already exists"
else
echo "$(basename $0): setting up node"
npm install --ci
fi
# Versions
# 2022-08-11 - Initial version