1.0.0 • Published 3 years ago

@triplesense/capacitor-add-plugin-platforms v1.0.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
3 years ago

capacitor-add-plugin-platforms

Easelly generates capacitor plugins platforms. These scripts use the official template for capacitor plugins, downloading and transforming just the specified platform's folders.

Install

npm i -D @triplesense/capacitor-add-plugin-platforms

Generating ios platform

npx add-plugin-ios IOS_FOLDER_NAME PLUGIN_NAME

Example:

npx add-plugin-ios ios MyPlugin

Generating android platform

npx add-plugin-android ANDROID_FOLDER_NAME PLUGIN_NAME PACKAGE_ID

Example:

npx add-plugin-ios android MyPlugin com.mycompany.capacitor.plugins

Warning

This commands will overwrite pre-existing folders, so be careful.

1.0.0

3 years ago