Admin Api: install node from local file, dependencies?

I want to install the contrib-node-red-grpc node to a device that has no internet access. Let's call this device the target device. The target device is connected to another device via local network. Let's call that device "the deployer". Both devices are running linux; the deployer has a somewhat modified Debian.
Presently, i have ssh access to the target for developing- and debug purposes but ssh to the target will be unavailable later when i want to put the solution for this task into use.

The steps i took:

-on the deployer i used npm pack to download contrib-node-red-grpc and the dependencies lodash.get, grpc-grpc-js, grpc-proto-loader. This resulted in four .tar.gz files.
-i copied the tar archives to the target device via scp into /var/lib/node-red/extra_nodes on the target.
-on the target, i ran tar xvf to unzip grpc-grpc-js-1.2.6.tgz. This resulted in a folder /var/lib/node-red/extra_nodes/package. That folder contains the expected files.
-i used curl on the deployer to POST to /red/nodes the JSON {"module": "/var/lib/node-red/extra_nodes/package"}
This, however, does not work because the package.json file of grpc-grpc-js has no node-red key - it is a node-node but not a node-red contribution node.
On the other hand, when i unpack node-red-contrib-grpc (my final goal :wink: ), node-red on the target tries to install it but fails because it cannot fetch the dependencies - the target device has no internet connection.

My question: how can i install node-red-contrib-grpc and its dependencies on the target only using the node red admin api and scp?

best regards and thanks for any hints in advance,
Jochen Menzel