Configuration file (interact.config.json)

The file interact.config.json is a JSON file that contains the configuration of your site.

Cli

Schema

To help you in the setting of its values in your editor, you can generate a schema with the cli command schema.

bash
interact schema

The schema file is generated in the .interact directory.

You can then use it in the $schema property to get schema validation and completion in your editor.

json
{ "$schema": ".interact/interact.schema.json" }

How to check the actual values?

With the cli

bash
interact config

Configuration

The config file path is defined in order of precedence as being the value of:

  • the confPath cli flag
  • the INTERACT_CONF_PATH environment variable if defined
  • the current directory with interact.config.json as default