Files
dotfiles/scripts/run-dev.sh
T
2024-04-02 19:08:20 -04:00

14 lines
226 B
Bash
Executable File

#!/bin/bash
if [ -f "package-lock.json" ]; then
npm run dev
elif [ -f "yarn.lock" ]; then
yarn dev
elif [ -f "pnpm-lock.yaml" ]; then
pnpm dev
elif [ -f "bun.lockb" ]; then
bun run dev
else
echo "No lockfile :("
fi