Avoiding npm globals through run-script

I was talking with Richard Banks the other day about doing silly things with Docker (because, well I’m known for that at work) and he was saying he wants to create docker containers that contain the global npm modules that he often uses to save i…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

I was talking with Richard Banks the other day about doing silly things with Docker (because, well I’m known for that at work) and he was saying he wants to create docker containers that contain the global npm modules that he often uses to save installing them using npm install -g. I asked him why he was using npm install -g and he said it was for build tools (gulp/grunt/webpack/etc.) so that you can easily run them.


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate
APA
Posts on LINQ to Fail | Sciencx (2022-12-01T20:32:03+00:00) » Avoiding npm globals through run-script. Retrieved from https://www.scien.cx/2017/11/12/avoiding-npm-globals-through-run-script/.
MLA
" » Avoiding npm globals through run-script." Posts on LINQ to Fail | Sciencx - Sunday November 12, 2017, https://www.scien.cx/2017/11/12/avoiding-npm-globals-through-run-script/
HARVARD
Posts on LINQ to Fail | Sciencx Sunday November 12, 2017 » Avoiding npm globals through run-script., viewed 2022-12-01T20:32:03+00:00,<https://www.scien.cx/2017/11/12/avoiding-npm-globals-through-run-script/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Avoiding npm globals through run-script. [Internet]. [Accessed 2022-12-01T20:32:03+00:00]. Available from: https://www.scien.cx/2017/11/12/avoiding-npm-globals-through-run-script/
CHICAGO
" » Avoiding npm globals through run-script." Posts on LINQ to Fail | Sciencx - Accessed 2022-12-01T20:32:03+00:00. https://www.scien.cx/2017/11/12/avoiding-npm-globals-through-run-script/
IEEE
" » Avoiding npm globals through run-script." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2017/11/12/avoiding-npm-globals-through-run-script/. [Accessed: 2022-12-01T20:32:03+00:00]
rf:citation
» Avoiding npm globals through run-script | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2017/11/12/avoiding-npm-globals-through-run-script/ | 2022-12-01T20:32:03+00:00
https://github.com/addpipe/simple-recorderjs-demo