I trying to adding my own cordova custom plugin in in to ionic project but while adding it gives me error.Invalid Plugin! needs valid package.json. please help me asap .
Your plugin needs a valid package.json
.
Look at all the other plugins to find out what a valid package.json
looks like.
i am creating package.json file using this command $ plugman createpackagejson /path/to/your/plugin
is it correct?
Possible, that is a Cordova thing and you are in the Ionic Forums.
I suggested you just copy what all the other plugins are doing.
Thnaks its working for me…: