@nstudio/schematics
Version:
Cross-platform (xplat) tools for Nx workspaces.
49 lines (47 loc) • 1.18 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"id": "app.electron",
"title": "Nx Electron App Options Schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the app.",
"alias": "n",
"$default": {
"$source": "argv",
"index": 0
}
},
"target": {
"type": "string",
"description": "The name of the web app to use inside the electron app. ie, web-myapp"
},
"prefix": {
"type": "string",
"description": "The prefix to apply to generated selectors.",
"alias": "p"
},
"groupByName": {
"description": "Group by app name (appname-platform) instead of the default (platform-appname)",
"type": "boolean",
"default": false
},
"npmScope": {
"type": "string",
"description": "The npm scope to use.",
"alias": "wn"
},
"skipInstall": {
"type": "boolean",
"description": "Skip installing dependencies.",
"default": false
},
"skipFormat": {
"description": "Skip formatting files",
"type": "boolean",
"default": false
}
},
"required": []
}