Inso CLI can be configured with a configuration file, allowing you to specify options and scripts. For example, when running in a CI environment, you may choose to specify the steps as scripts in a configuration file, so that the same commands can be run both locally and in CI.
Inso CLI uses cosmiconfig for configuration file management. This automatically uses any of the following items from the working tree:
-
insoproperty inpackage.json -
.insorcfile in JSON or YAML format -
.insorc.jsonfile -
.insorc.yaml,.insorc.yml, or.insorc.jsfile -
inso.configuration.jsfile exporting a JS object
You can also use the --configuration $FILE global option to specify the file to use.