# Configuration

## Default Configuration

By default, the script will look in the root directory for a `config.json` file with the following syntax
``` js
{
  "sprite_id": {
    "version": 1, // version number
    "distributions": [
      {
        "bucket": "bucket_name",
        "region": "bucket_region",
        "folder": "icons/v{version}" // formated string recieving the sprite object
      },
      ...
    ],
    "sources": {
      "icon_name": "icon_path",
      ...
    }
  },
  ...
}
```

## Environment variables

By default, will default the option values to the following environament variables:
```env
# json configuration file path (default: config.json)
Config_path=config.json

# local source directory (default: svg)
Source_path=svg

# default build svg fill attribute behaviour (default: strip)
Build_fill_behavior=strip

# default build dist folder (default: dist)
Build_dist=dist

# default build log level
Build_log='debug'

# AWS access key id
AWS_accessKeyId=

# AWS secret access key
AWS_secretAccessKey=

# upload log level (all|only_errors|none)
S3_FOLDER_UPLOAD_LOG=only_errors
```