The settings.json
file in the project root directory stores the module template settings. When you initialize a module, this is the default configuration of the settings.json
file:
// ./settings.json
{
"name": "modules",
"id": "415dfe94-4508-42dd-b3d3-e0431a593229",
"localization": {
"current": "eng",
"original": "",
"langs": [
"eng"
]
},
"browserslist": ["last 2 versions"]
}
Field | Description |
| The module template name. By default, it's the same as the module project directory name. |
| The unique ID of the created module. |
| Information about the current localization and available languages for the module template. |
| Define the supported browsers for demonstrating your module. This configuration is applicable in prefixing the CSS rules and polyfilling JS. For more information, see the Browserslist configuration syntax. |
Archive the module project and upload it to eWizard. In eWizard Editor, add a module from the Veeva Vault or NaviGate services. When you download the project after adding the module, the settings.json
file has the following structure:
{
"name": "modules",
"id": "853c1c13-23c5-4a50-9f02-fbf11d2cee68",
"localization": {
"current": "eng",
"original": "",
"langs": [
"",
"eng"
]
},
"targetCLM": {
"name": "",
"code": ""
},
"writeFrameworkVersion": true,
"fonts": {
"alternative": "",
"external": []
},
"browserslist": [
"last 2 versions"
],
"content": {
"automaticLink": false
},
"targetDevices": [],
"frameworkVersion": "5.19.0"
}
In addition to the default fields, you can find the following ones:
Field | Description |
| Information about the target system of the module template. |
| Set to |
| The settings for the custom fonts available in the eWizard Editor text properties. Use the |
| Set to |
| Lists the groups of devices that support the aspect ratio you select when you initialize the e-Detailer. |
| The eWizard.js framework version the module was created in. |