Improved script
This commit is contained in:
parent
dc3a49ee6c
commit
4c746a0b60
1 changed files with 20 additions and 1 deletions
|
@ -1 +1,20 @@
|
|||
rm -rf node_modules/ && rm -f package-lock.json && rm -f yarn.lock && npm cache verify && npm install && expo r -c
|
||||
#!/bin/bash
|
||||
|
||||
echo "Removing node_modules..."
|
||||
rm -rf node_modules/
|
||||
echo -e "Done\n"
|
||||
|
||||
echo "Removing locks..."
|
||||
rm -f package-lock.json && rm -f yarn.lock
|
||||
echo -e "Done\n"
|
||||
|
||||
#echo "Verifying npm cache..."
|
||||
#npm cache verify
|
||||
#echo -e "Done\n"
|
||||
|
||||
echo "Installing dependencies..."
|
||||
npm install
|
||||
echo -e "Done\n"
|
||||
|
||||
echo "Starting expo with clear cache..."
|
||||
expo r -c
|
||||
|
|
Loading…
Reference in a new issue