Let's say I have an npm package which has no dependencies, because I bundled all the source files and dependencies into one file using webpack. I download this package and unpack it into ./my‑awesome‑package/ directory. Does it make sense to run npm install ./my-awesome-package/ now?
I know that you can specify preinstall and postinstall scripts in package.json, but except that, does npm install actually do anything when there are no dependencies?
via Gothdo
No comments:
Post a Comment