### Install capacitor-esptouch Source: https://github.com/coloz/capacitor-esptouch/blob/main/README.md Installs the capacitor-esptouch plugin and synchronizes native build files. ```bash npm install capacitor-esptouch npx cap sync ``` -------------------------------- ### Install Dependencies Source: https://github.com/coloz/capacitor-esptouch/blob/main/CONTRIBUTING.md Installs the project's dependencies using npm. ```shell npm install ``` -------------------------------- ### Install SwiftLint Source: https://github.com/coloz/capacitor-esptouch/blob/main/CONTRIBUTING.md Installs SwiftLint using Homebrew, a tool for enforcing Swift style and conventions. ```shell brew install swiftlint ``` -------------------------------- ### capacitor-esptouch API Source: https://github.com/coloz/capacitor-esptouch/blob/main/README.md Provides methods to start and stop the ESPTouch process within a Capacitor application. The start method requires SSID, BSSID, and optionally password, AES key, or custom data. Both methods return a Promise. ```APIDOC start(...): Description: Starts the ESPTouch process. Parameters: options: object ssid: string - The Wi-Fi network SSID. bssid: string - The Wi-Fi network BSSID. password?: string - The Wi-Fi network password (optional). aesKey?: string - The AES key for secure communication (optional). customData?: string - Custom data to send with the ESPTouch packet (optional). Returns: Promise stop(): Description: Stops the ESPTouch process. Returns: Promise ``` -------------------------------- ### Build Plugin Source: https://github.com/coloz/capacitor-esptouch/blob/main/CONTRIBUTING.md Builds the plugin's web assets and generates API documentation using @capacitor/docgen. It compiles TypeScript to ESM JavaScript and bundles it into a single file for use in different application setups. ```shell npm run build ``` -------------------------------- ### Publish Plugin Source: https://github.com/coloz/capacitor-esptouch/blob/main/CONTRIBUTING.md Publishes the plugin to npm. A `prepublishOnly` hook in `package.json` ensures the plugin is prepared before publishing. The `files` array in `package.json` determines which files are included in the published package. ```shell npm publish ``` -------------------------------- ### Verify Plugin Source: https://github.com/coloz/capacitor-esptouch/blob/main/CONTRIBUTING.md Builds and validates both the web and native projects. This script is useful for CI environments to ensure the plugin builds correctly across all supported platforms. ```shell npm run verify ``` -------------------------------- ### Lint and Format Code Source: https://github.com/coloz/capacitor-esptouch/blob/main/CONTRIBUTING.md Checks code formatting and quality, with options for auto-formatting and fixing. Integrates ESLint, Prettier, and SwiftLint for consistent code style. ```shell npm run lint ``` ```shell npm run fmt ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.