@nx/expo
Version:
68 lines (67 loc) • 2.22 kB
JSON
{
"version": 2,
"continuous": true,
"outputCapture": "direct-nodejs",
"cli": "nx",
"$id": "NxExpoRun",
"$schema": "https://json-schema.org/schema",
"title": "Run iOS or Android application",
"description": "Run Expo target options.",
"type": "object",
"x-deprecated": "The `@nx/expo:run` executor is deprecated and will be removed in Nx v24. Run `nx g @nx/expo:convert-to-inferred` to migrate to the `@nx/expo/plugin` inferred plugin. See https://nx.dev/docs/guides/tasks--caching/convert-to-inferred for details.",
"properties": {
"platform": {
"description": "Platform to run for (ios, android).",
"enum": ["ios", "android"],
"default": "ios",
"alias": "p"
},
"xcodeConfiguration": {
"type": "string",
"description": "(iOS) Xcode configuration to use. Debug or Release",
"default": "Debug",
"x-priority": "important"
},
"scheme": {
"type": "string",
"description": "(iOS) Explicitly set the Xcode scheme to use"
},
"variant": {
"type": "string",
"description": "(Android) Specify your app's build variant (e.g. debug, release).",
"default": "debug",
"x-priority": "important"
},
"device": {
"type": "string",
"description": "Device name or UDID to build the app on. The value is not required if you have a single device connected.",
"alias": "d"
},
"port": {
"type": "number",
"description": "Port to start the Metro bundler on",
"default": 8081,
"alias": "p"
},
"bundler": {
"type": "boolean",
"description": "Whether to skip starting the Metro bundler. True to start it, false to skip it."
},
"install": {
"type": "boolean",
"description": "Installing npm packages and CocoaPods before building.",
"default": true
},
"buildCache": {
"type": "boolean",
"description": "Should use derived data for builds."
},
"clean": {
"type": "boolean",
"description": "Delete the native folders and regenerate them before applying changes",
"default": false
}
},
"required": ["platform"],
"examplesFile": "../../../docs/run-examples.md"
}