removing node_modules after every publish will reduce the load on the host disk space. already tested on my travis project (#2232)

This commit is contained in:
Enzo Rivello
2017-08-23 11:09:07 +01:00
committed by Mario Romano
parent 738074ef7c
commit 1deaa22570

View File

@@ -137,6 +137,7 @@ do
echo "====== PUBLISHING: ${DESTDIR} ===== npm publish ${OPTIONS}"
npm publish ${OPTIONS} || exit 1
rm -rf node_modules
if $EXEC_CHANGE_REGISTRY == true; then
npm run rimraf .npmrc