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:
-
inso
property inpackage.json
-
.insorc
file in JSON or YAML format -
.insorc.json
file -
.insorc.yaml
,.insorc.yml
, or.insorc.js
file -
inso.configuration.js
file exporting a JS object
You can also use the --configuration $FILE
global option to specify the file to use.