55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
|
{
|
||
|
"cli": "nx",
|
||
|
"id": "serve",
|
||
|
"description": "Serves an app using @nrwl/next:server",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"env": {
|
||
|
"type": "string",
|
||
|
"description": "Target environment to run the application in. This assumes an .env file present in the project's root in the following format: .env.{envName}"
|
||
|
},
|
||
|
"dev": {
|
||
|
"type": "boolean",
|
||
|
"description": "Serve the application in the dev mode.",
|
||
|
"default": true
|
||
|
},
|
||
|
"buildTarget": {
|
||
|
"type": "string",
|
||
|
"description": "Target which builds the application."
|
||
|
},
|
||
|
"port": {
|
||
|
"type": "number",
|
||
|
"description": "Port to listen on.",
|
||
|
"default": 4200
|
||
|
},
|
||
|
"staticMarkup": {
|
||
|
"type": "boolean",
|
||
|
"description": "Static markup.",
|
||
|
"default": false
|
||
|
},
|
||
|
"quiet": {
|
||
|
"type": "boolean",
|
||
|
"description": "Hide error messages containing server information.",
|
||
|
"default": false
|
||
|
},
|
||
|
"customServerPath": {
|
||
|
"type": "string",
|
||
|
"description": "Use a custom server script."
|
||
|
},
|
||
|
"hostname": {
|
||
|
"type": "string",
|
||
|
"description": "Hostname on which the application is served."
|
||
|
},
|
||
|
"proxyConfig": {
|
||
|
"type": "string",
|
||
|
"description": "Path to the proxy configuration file."
|
||
|
},
|
||
|
"buildLibsFromSource": {
|
||
|
"type": "boolean",
|
||
|
"description": "Read buildable libraries from source instead of building them separately.",
|
||
|
"default": true
|
||
|
}
|
||
|
},
|
||
|
"required": ["buildTarget"]
|
||
|
}
|