add option to treat all dependencies like optional dependencies

I need to “npm install” a set up packages and their dependencies from a local registry. Some dependencies don’t exist on the registry or in the npm common registry (they are Unity packages).

I need npm to kindly ignore the error thrown, that the dependency was not found, and continue to download others.