The file happens to be on GitHub, so I know that the URL starts with "http://raw.githubusercontent.com
.
But it is not part of an official NPM package, so I need to download it directly from that URL somehow.
I'm not sure what syntax to use, and whether to put it under dependencies
or devDependencies
or some other group.
I know that I have the option of implementing a script for downloading that file, and then specify the name of that script under the scripts
group (as the install
or preinstall
attribute).
But I'd prefer to avoid that if possible.
Thanks