Merge pull request #3990 from Citadel-Station-13/upstream-merge-32767

[MIRROR] Make tgui use npm-cache for installing modules
This commit is contained in:
deathride58
2017-11-18 04:14:02 +00:00
committed by GitHub
+3 -1
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