├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── assets ├── plugin-template │ ├── .eslintignore │ ├── .gitignore │ ├── .prettierignore │ ├── CONTRIBUTING.md │ ├── Package.swift.mustache │ ├── README.md.mustache │ ├── __NATIVE_NAME__.podspec.mustache │ ├── android │ │ ├── .gitignore │ │ ├── build.gradle.mustache │ │ ├── gradle.properties │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ └── gradle-wrapper.properties │ │ ├── gradlew │ │ ├── gradlew.bat │ │ ├── proguard-rules.pro │ │ ├── settings.gradle │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── getcapacitor │ │ │ │ └── android │ │ │ │ └── ExampleInstrumentedTest.java │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ ├── __JAVA_PATH__.java.mustache │ │ │ │ └── __JAVA_PATH__Plugin.java.mustache │ │ │ └── res │ │ │ │ └── .gitkeep │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── getcapacitor │ │ │ └── ExampleUnitTest.java │ ├── ios │ │ ├── .gitignore │ │ ├── Sources │ │ │ └── __CLASS__Plugin │ │ │ │ ├── __CLASS__.swift.mustache │ │ │ │ └── __CLASS__Plugin.swift.mustache │ │ └── Tests │ │ │ └── __CLASS__PluginTests │ │ │ └── __CLASS__PluginTests.swift.mustache │ ├── package.json.mustache │ ├── rollup.config.mjs.mustache │ ├── src │ │ ├── definitions.ts.mustache │ │ ├── index.ts.mustache │ │ └── web.ts.mustache │ └── tsconfig.json └── www-template │ ├── index.html │ └── js │ └── example.js.mustache ├── bin └── create-capacitor-plugin ├── package.json ├── scripts ├── lib │ ├── cli.mjs │ ├── fn.mjs │ └── repo.mjs └── pack-assets.mjs ├── src ├── cli.ts ├── help.ts ├── index.ts ├── options.ts ├── prompt.ts ├── subprocess.ts └── template.ts └── tsconfig.json /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | assets/**/*.tar.gz 2 | dist/ 3 | node_modules 4 | .DS_Store 5 | package-lock.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/README.md -------------------------------------------------------------------------------- /assets/plugin-template/.eslintignore: -------------------------------------------------------------------------------- 1 | build 2 | dist 3 | example-app 4 | -------------------------------------------------------------------------------- /assets/plugin-template/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/.gitignore -------------------------------------------------------------------------------- /assets/plugin-template/.prettierignore: -------------------------------------------------------------------------------- 1 | example-app 2 | -------------------------------------------------------------------------------- /assets/plugin-template/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/CONTRIBUTING.md -------------------------------------------------------------------------------- /assets/plugin-template/Package.swift.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/Package.swift.mustache -------------------------------------------------------------------------------- /assets/plugin-template/README.md.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/README.md.mustache -------------------------------------------------------------------------------- /assets/plugin-template/__NATIVE_NAME__.podspec.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/__NATIVE_NAME__.podspec.mustache -------------------------------------------------------------------------------- /assets/plugin-template/android/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /assets/plugin-template/android/build.gradle.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/android/build.gradle.mustache -------------------------------------------------------------------------------- /assets/plugin-template/android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/android/gradle.properties -------------------------------------------------------------------------------- /assets/plugin-template/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /assets/plugin-template/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /assets/plugin-template/android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/android/gradlew -------------------------------------------------------------------------------- /assets/plugin-template/android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/android/gradlew.bat -------------------------------------------------------------------------------- /assets/plugin-template/android/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/android/proguard-rules.pro -------------------------------------------------------------------------------- /assets/plugin-template/android/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/android/settings.gradle -------------------------------------------------------------------------------- /assets/plugin-template/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java -------------------------------------------------------------------------------- /assets/plugin-template/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/android/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /assets/plugin-template/android/src/main/java/__JAVA_PATH__.java.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/android/src/main/java/__JAVA_PATH__.java.mustache -------------------------------------------------------------------------------- /assets/plugin-template/android/src/main/java/__JAVA_PATH__Plugin.java.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/android/src/main/java/__JAVA_PATH__Plugin.java.mustache -------------------------------------------------------------------------------- /assets/plugin-template/android/src/main/res/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/plugin-template/android/src/test/java/com/getcapacitor/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/android/src/test/java/com/getcapacitor/ExampleUnitTest.java -------------------------------------------------------------------------------- /assets/plugin-template/ios/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/ios/.gitignore -------------------------------------------------------------------------------- /assets/plugin-template/ios/Sources/__CLASS__Plugin/__CLASS__.swift.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/ios/Sources/__CLASS__Plugin/__CLASS__.swift.mustache -------------------------------------------------------------------------------- /assets/plugin-template/ios/Sources/__CLASS__Plugin/__CLASS__Plugin.swift.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/ios/Sources/__CLASS__Plugin/__CLASS__Plugin.swift.mustache -------------------------------------------------------------------------------- /assets/plugin-template/ios/Tests/__CLASS__PluginTests/__CLASS__PluginTests.swift.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/ios/Tests/__CLASS__PluginTests/__CLASS__PluginTests.swift.mustache -------------------------------------------------------------------------------- /assets/plugin-template/package.json.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/package.json.mustache -------------------------------------------------------------------------------- /assets/plugin-template/rollup.config.mjs.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/rollup.config.mjs.mustache -------------------------------------------------------------------------------- /assets/plugin-template/src/definitions.ts.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/src/definitions.ts.mustache -------------------------------------------------------------------------------- /assets/plugin-template/src/index.ts.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/src/index.ts.mustache -------------------------------------------------------------------------------- /assets/plugin-template/src/web.ts.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/src/web.ts.mustache -------------------------------------------------------------------------------- /assets/plugin-template/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/plugin-template/tsconfig.json -------------------------------------------------------------------------------- /assets/www-template/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/www-template/index.html -------------------------------------------------------------------------------- /assets/www-template/js/example.js.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/assets/www-template/js/example.js.mustache -------------------------------------------------------------------------------- /bin/create-capacitor-plugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/bin/create-capacitor-plugin -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/package.json -------------------------------------------------------------------------------- /scripts/lib/cli.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/scripts/lib/cli.mjs -------------------------------------------------------------------------------- /scripts/lib/fn.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/scripts/lib/fn.mjs -------------------------------------------------------------------------------- /scripts/lib/repo.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/scripts/lib/repo.mjs -------------------------------------------------------------------------------- /scripts/pack-assets.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/scripts/pack-assets.mjs -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/help.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/src/help.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/src/options.ts -------------------------------------------------------------------------------- /src/prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/src/prompt.ts -------------------------------------------------------------------------------- /src/subprocess.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/src/subprocess.ts -------------------------------------------------------------------------------- /src/template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/src/template.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ionic-team/create-capacitor-plugin/HEAD/tsconfig.json --------------------------------------------------------------------------------