I understand that "npm install" in NodeJS will actually install libraries into a folder called "node_modules".
I am actually wanting to achieve something similar but to use my own CLI instead (eg using commands like "myproject install" instead of "npm install") and then the libraries (proprietary ES6 source codes from my company's Enterprise Git Repo) will be installed into a specific folder (eg "myown_modules" rather than "node_modules").
Question is, how do I achieve that, assuming that I want dependencies checking as well on the libraries that are going to be installed? Also, how do we control versions using own CLI?
via oatcrunch
No comments:
Post a Comment