Is package.json supposed to be manually edited? Couldn\'t a program like npm just look through the files, see the \"require\" statements, and then use that to put the necess
Based on Pylinux's answer, below is a solution for Windows OS,
dir node_modules > abc.txt FOR /F %k in (abc.txt) DO npm install --save
Hope it helps.