profoundjs
Version:
Profound.js Framework and Server
221 lines (220 loc) • 5.54 kB
JSON
{
"version": 1,
"warnings": [],
"questions": [
{
"id": "port",
"type": "number",
"label": "Server Port",
"prompt": "Specify port number for Profound.js server",
"default": 8081,
"min": 0,
"max": 65535,
"decimals": 0,
"required": true
},
{
"id": "gitSupport",
"type": "boolean",
"label": "Install with Git Integration",
"prompt": "Install with Git integration?",
"default": true,
"os": [
"!os400"
],
"engines": {
"node": "< 18"
}
},
{
"type": "boolean",
"label": "Install IBM i Connector",
"prompt": "Install Profound.js Connector IBM i ILE components?",
"default": true,
"os": [
"os400"
],
"questions": [
{
"id": "connectorLibrary",
"type": "text",
"label": "IBM i Connector Library",
"prompt": "Enter Profound.js Connector library name:",
"default": "PROFOUNDJS",
"textType": "ibmi_name"
},
{
"id": "connectorIASP",
"type": "text",
"label": "IBM i Connector Library IASP",
"prompt": "Enter Profound.js Connector library IASP:",
"default": "*SYSBAS",
"textType": "ibmi_iasp"
}
]
},
{
"type": "boolean",
"label": "Control Instance with STRTCPSVR/ENDTCPSVR",
"prompt": "Create/replace server instance configuration for STRTCPSVR/ENDTCPSVR commands?",
"default": true,
"os": [
"os400"
],
"questions": [
{
"id": "strtcpsvr_svrname",
"type": "text",
"label": "Server Instance Name",
"prompt": "Server instance name:",
"default": "PROFOUNDJS",
"textType": "ibmi_name"
},
{
"id": "strtcpsvr_ccsid",
"type": "number",
"label": "Server Instance CCSID",
"prompt": "Specify CCSID for instance:",
"default": 37,
"min": 1,
"max": 65535,
"decimals": 0
},
{
"id": "strtcpsvr_nodePath",
"type": "node_path",
"label": "Node.js Version",
"prompt": "Specify Node.js path for instance:"
},
{
"id": "strtcpsvr_autostart",
"type": "boolean",
"label": "Autostart Server Instance",
"prompt": "Autostart server instance:",
"default": true
}
]
},
{
"type": "boolean",
"label": "Integrate with Separate Profound UI Instance",
"prompt": "Integrate with separate Profound UI instance?",
"default": false,
"os": "os400",
"product": [
"profoundjs"
],
"questions": [
{
"id": "puiInstance",
"type": "text",
"label": "Profound UI Instance Name",
"prompt": "Profound UI instance name:",
"default": "PROFOUNDUI",
"textType": "ibmi_name"
}
]
},
{
"id": "installSamples",
"type": "boolean",
"label": "Install sample code",
"prompt": "Install sample code?",
"default": true,
"product": [
"!profoundai"
]
},
{
"id": "db_credentials",
"type": "boolean",
"label": "Database Connection Credentials Needed",
"prompt": "Provide the username and password that the application should use to connect to the database.",
"default": false,
"os": [
"os400"
],
"questions": [
{
"id": "db_user",
"type": "text",
"label": "User",
"prompt": "User"
},
{
"id": "db_password",
"type": "password",
"label": "Password",
"prompt": "Password"
},
{
"id": "out_file",
"type": "text",
"preserveCase": true,
"label": "Relative File Name",
"prompt": "Relative file name (will be stored in root server directory)"
}
]
},
{
"id": "transformation_install",
"type": "boolean",
"label": "Transformation Installation",
"prompt": "Transformation Installation",
"default": false,
"os": [
"os400"
],
"questions": [
{
"id": "validation_code",
"type": "text",
"label": "Validation Code",
"prompt": "Validation Code"
}
]
}
],
"commands": {
"config_file": {
"command": "node getConfigPath.js",
"cwd": "setup"
},
"install": {
"command": "node completeInstall.js --silent",
"cwd": "setup"
},
"install_validate": {
"command": "node completeInstall.js --silent --validate",
"cwd": "setup"
},
"remove": {
"command": "node removeExtraComponents.js --silent",
"cwd": "setup"
},
"remove_report": {
"command": "node removeExtraComponents.js --dry-run",
"cwd": "setup"
}
},
"packageJSON": {
"name": "profoundjs-deployment",
"version": "1.0.0",
"description": "Profound.js Deployment",
"keywords": [
"profound",
"profoundjs",
"pjs",
"profound logic",
"profoundlogic",
"profound ui",
"profoundui"
],
"scripts": {
"start": "node start.js"
},
"homepage": "http://profoundjs.com/",
"license": "SEE LICENSE IN LICENSE.txt",
"private": true
}
}