![]() ![]() NPM itself provides a way to run scripts, but it is somewhat limiting. Knowing that, you can write very simple Makefiles with goals like ¹. If you simply run npm install all your runtime and dev dependencies will be installed under that node_modules directory, and every package that was meant to be installed globally will have an executable under node_modules/.bin. Some of these dev dependencies are meant to be installed as global modules ( npm install -g ), requiring you to have them installed beforehand – and this is what I strive to avoid. ![]() I have some toy projects using Node.js, and one thing I like about npm is that you can have all your dependencies within the scope (directory) of your project under node_modules. Make has been around for quite some time now and it is still pretty handy. I want them to be able to clone a repo and with a single command be ready to go. One of my goals when developing anything is to make other devs' lives easier.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |