Remove local npm after installing since we no longer need it (saves ~4MB).

This commit is contained in:
Pagan Gazzard 2015-01-07 19:27:28 +00:00 committed by Pablo Carranza Vélez
parent f216a691a1
commit 9197272632

View File

@ -27,4 +27,6 @@ if [ $NODE_ENV == 'production' ]; then
find . -type d -name 'test' -exec rm -rf '{}' \; 2> /dev/null || true
find . -type d -name 'doc' -exec rm -rf '{}' \; 2> /dev/null || true
find . -type d -name 'man' -exec rm -rf '{}' \; 2> /dev/null || true
# And npm - we've finished with it
find . -type d -name 'npm' -exec rm -rf '{}' \; 2> /dev/null || true
fi