initial commit

This commit is contained in:
2024-04-02 19:08:20 -04:00
commit 861be343e4
13 changed files with 330 additions and 0 deletions
View File
+13
View File
@@ -0,0 +1,13 @@
#!/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
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
if [ -f "package-lock.json" ]; then
npm run lint
elif [ -f "yarn.lock" ]; then
yarn lint
elif [ -f "pnpm-lock.yaml"]
pnpm run lint
else
echo "Neither package-lock.json nor yarn.lock exists"
fi