Is it possible to use a private/standalone @ionic-native wrapper?


#1

Hi,

I was wondering if I could use npm to manage a private/standalone @ionic-native wrapper for a private cordova plugin (not published in npm repositories).
I generated the wrapper using npm build, but I couldn’t figure out how I could install --save it standalone.

Is there such a possibility ?


#2

What do you mean by “standalone”?


#3

You are looking for npm link.


#4

Thanks, I will look at this.


#5

To publish an @ionic-native wrapper, it must be part of the global, public ionic-native GitHub repo:

However, the plugin I’m wrapping is not public, and will probably never be. So, I can’t see a reason to publish this wrapper to the world for my only use.