Nodejs snap including scoped packages

Dear all,

I want to pack our nodejs project as a snap. The only problem is, the package.json is referencing scoped packages, which include our proprietary code. Is there an option to tell the npm inside the snap build process on how to register for a specific scope ?

Looking forward to your suggestions!