Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (9 sloc) 193 Bytes
#!/usr/bin/env bash
# bin/detect <build-dir>
if [ -f $1/package.json ]; then
echo "Node.js" && exit 0
elif [ -f $1/server.js ]; then
echo "Node.js" && exit 0
else
echo "no" && exit 1
fi