Files
dotfiles/scripts/run-dev.sh
T
2025-02-05 10:00:00 -05:00

14 lines
243 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" -o -f "bun.lock" ]; then
bun run dev
else
echo "No lockfile :("
fi