npm install -g plugman
plugman create --name plugin --plugin_id com.plugin.plugin --plugin_version 1.0.0
plugman platform add --platform_name android/ios
npm init
ionic cordova plugin add path --you customize plugin path