mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-25 16:51:25 -05:00
Don't delete the package package-lock.json in init.sh
This commit is contained in:
parent
f71236b30d
commit
ab614df701
1 changed files with 0 additions and 5 deletions
5
init.sh
5
init.sh
|
@ -97,11 +97,6 @@ sed -i 's|^CACHE_BUST=.*|CACHE_BUST='"$(LC_CTYPE=C LANG=C tr -dc A-Za-z0-9 </dev
|
||||||
php artisan migrate || error "${c_m}php artisan migrate$c_w exited with an error status"
|
php artisan migrate || error "${c_m}php artisan migrate$c_w exited with an error status"
|
||||||
}
|
}
|
||||||
|
|
||||||
[[ -f package-lock.json ]] && {
|
|
||||||
msg "Deleting: ${c_y}package-lock.json$c_w"
|
|
||||||
rm package-lock.json
|
|
||||||
}
|
|
||||||
|
|
||||||
msg "Running: ${c_m}npm install"
|
msg "Running: ${c_m}npm install"
|
||||||
npm prune && npm install --production || error "${c_m}npm prune && npm install --production$c_w exited with an error status"
|
npm prune && npm install --production || error "${c_m}npm prune && npm install --production$c_w exited with an error status"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue