Skip to main content

Version: 22.10

Overview

Structure and usage

transact-config.json is the root-level configuration file for specifying which configs and fixtures you want to use, in addition to providing configuration options for deployment and idleTime.

Example

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

"configPath": "development" in this case 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.