#!/usr/bin/env bash

if [ "$(uname)" == "Darwin"] then
    brew cleanup
fi

if [ "$(npm -v)" != null ] then
    npm cache clean --force
elif [ "$(yarn -v)" != null ] then
    yarn cache clean
elif [ "$(composer --version)" != null ] then
    composer clear-cache
fi
Add bash script to clean cache of package managers
Add bash script to clean cache of package managers

Signed-off-by: Ru Chern Chong <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@ruchern.com>
