mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-22 09:40:23 -05:00
Prune node_modules before installing/updating them
This commit is contained in:
parent
54613bf60b
commit
9ce2c865a7
1 changed files with 1 additions and 1 deletions
2
init.sh
2
init.sh
|
@ -88,7 +88,7 @@ sed -i 's|^CACHE_BUST=.*|CACHE_BUST='"$(tr -dc A-Za-z0-9 </dev/urandom | head -c
|
|||
}
|
||||
|
||||
msg "Running: ${c_m}npm install"
|
||||
npm install --production || error "${c_m}npm install$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"
|
||||
|
||||
msg "Running: ${c_m}bower prune && bower install"
|
||||
bower prune && bower install || error "${c_m}bower prune && bower install$c_w exited with an error status"
|
||||
|
|
Loading…
Reference in a new issue