I have a project that depends on several third-party libs.
My package.json looks like:
"dependencies": {
"vendor-name": "git://github.com/vendor/name.git#v1.1",
...
}
This works as long as the vendor-name
repository contains a package.json
.
If there's not such a file, I get:
npm ERR! path /var/folders/0l/temp-folder/package.json
npm ERR! code ENOENT
Actually, a npm install git://github.com/vendor/name.git#v1.1
does not work, too.
So my question is:
Is there a way to install (include) git repositories (in the dependencies
) that do not have a package.json
?