initial commit

This commit is contained in:
Barrett Ruth 2022-12-31 14:04:00 -06:00
commit 4037e24558
11 changed files with 420 additions and 0 deletions

17
install.sh Normal file
View file

@ -0,0 +1,17 @@
#!/bin/sh
git clone 'git@github.com:wix/import-cost.git' || (echo 'Failed to clone wix/import-cost' && exit)
echo 'Install import-cost with which package manager? [npm/yarn]'
read -r installer
if [ "$installer" != 'npm' ] && [ "$installer" != 'yarn' ]; then
echo "Please enter either 'npm' or 'yarn'"
exit
fi
cd import-cost || exit
eval "$installer install"
cd ..
cp src/index.js import-cost