Skip to main content

Manifest package

Deployment and startup configuration for your App's client and server code.

Details

Namepackage
Typeobject
RequiredYes

client

Client-side build output for deployment.

PropertyTypeRequiredDescription
deploystringYesPath to the client deployment directory containing the entire single-page application (relative to project root).

server

Configuration for launching and packaging your server.

PropertyTypeRequiredDescription
launchstringYesEntry point to launch the server process (must be a .js file).
deployarrayYesList of server folders to include in deployment.
node_modulesarrayYesList of server-side node_modules folders that must be deployed.

Example

{
"package": {
"client": {
"deploy": "client/dist"
},
"server": {
"launch": "server/dist/myAppMain.js",
"deploy": [
"server/dist",
"networking/gen/server"
],
"node_modules": [
"server/node_modules"
]
}
}
}