46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "serve",
|
|
"implementation": "/packages/expo/src/executors/serve/serve.impl.ts",
|
|
"schema": {
|
|
"version": 2,
|
|
"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",
|
|
"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"
|
|
}
|
|
},
|
|
"presets": []
|
|
},
|
|
"description": "Serve up the Expo web app locally",
|
|
"aliases": [],
|
|
"hidden": false,
|
|
"path": "/packages/expo/src/executors/serve/schema.json",
|
|
"type": "executor"
|
|
}
|