Skip to main content

Version: 23.04

Overview

Structure and usage

transact-config.json is the root-level configuration file.

You can specify which configs and fixtures to use via the "configPath" property. In the example below, "configPath": "development" specifies that src/configs/development is used for the configuration files and src/fixtures/development is used for the test data provided to the app in the development environment.

Additionally, configuration options are provided for deployment and "idleTime".

Example

transact-config.json
{
"buildDir": "packages/workspaces/build",
"domainModelFile": "transact-schema.json",
"appDef": {
"name": "Brokers",
"formCode": "brokers",
"clientCode": "workspaces",
"configPath": "development",
"idleTime": 1860000,
"transactInsights": false,
"locale": "en",
"theme": {
"primary": {
"main": "#293276"
}
},
"formVersion": {
"versionNumber": "23.04"
}
}
}

"configPath": "development" specifies that src/configs/development is used for the configuration files and src/fixtures/development is used for the test data provided to the app in the development environment.