initial commit
This commit is contained in:
Executable
+13
@@ -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
|
||||
Executable
+11
@@ -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
|
||||
Reference in New Issue
Block a user