@nx/expo
Version:
38 lines (37 loc) • 1.19 kB
JSON
{
"version": 2,
"continuous": true,
"outputCapture": "direct-nodejs",
"cli": "nx",
"$id": "NxExpoServe",
"$schema": "http://json-schema.org/schema",
"title": "Serve web app for Expo",
"description": "Packager Server target options.",
"type": "object",
"x-deprecated": "The `@nx/expo:serve` 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": {
"port": {
"type": "number",
"description": "Port to start the native Metro bundler on (does not apply to web or tunnel)",
"default": 4200,
"alias": "p"
},
"clear": {
"type": "boolean",
"description": "Clear the Metro bundler cache",
"alias": "c"
},
"maxWorkers": {
"type": "number",
"description": "Maximum number of tasks to allow Metro to spawn"
},
"dev": {
"type": "boolean",
"description": "Turn development mode on or off"
},
"minify": {
"type": "boolean",
"description": "Whether or not to minify code"
}
}
}