Make tgui use npm-cache for installing modules (#32767)

This commit is contained in:
MoreRobustThanYou
2017-11-17 13:51:33 -05:00
committed by CitadelStationBot
parent 43f49c74ee
commit 98e4e38d43

View File

@@ -3,10 +3,12 @@ echo node.js 5.3.0 or newer must be installed for this script to work.
echo If this script fails, try closing editors and running it again first.
echo Any warnings about optional dependencies can be safely ignored.
pause
REM Install npm-cache
cmd /c npm install npm-cache -g
REM Install Gulp
cmd /c npm install gulp-cli -g
REM Install tgui dependencies
cmd /c npm install
cmd /c npm-cache install npm
REM Flatten dependency tree
cmd /c npm dedupe
REM Clean dependency tree