Workspace helper CLI for building, running, and managing Sparkling applications on Android and iOS.
Note: Projects created with
create-sparkling-appalready includesparkling-app-clias a dependency. Manual installation is only needed for existing projects or global usage.
# Global installation
npm install -g sparkling-app-cli@latest
# Or add to an existing project
npm install sparkling-app-cli@latest --save-dev# Build Lynx bundle (uses app.config.ts)
sparkling build
# Copy dist/ assets into Android/iOS resource folders
sparkling copy-assets
# Auto-link sparkling-method modules to native projects
sparkling autolink
# Build and run on Android emulator/device
sparkling run:android
# Build and run on iOS simulator
sparkling run:iosRun sparkling --help to see all available commands and options.
When developing inside the Sparkling monorepo, see LOCAL_TESTING.md for building this CLI, running sparkling / sparkling-app-cli from the workspace, and trying commands from an app directory.
- Node.js >= 18
- create-sparkling-app - Create new Sparkling projects
- Sparkling Documentation