<commit_before>
## Override Config

**1.** override api config (files, filters and path) 
```js
mixApi.setConfig({
  "path": {
    "version": {
      "build": "public/build/",
      "manifest": "public/mix-manifest.json"
    },
    "dist": {
      "images": "public/images/",
      "styles": "public/css/",
      "scripts": "public/js/",
      "fonts": "public/fonts/"
    },
    "assets": {
      "images": "resources/assets/images/",
      "styles": "resources/assets/sass/",
      "scripts": "resources/assets/js/",
      "fonts": "resources/assets/public/fonts/"
    }
  },
  "files": {
    "styles": "resources/assets/styles.json",
    "scripts": "resources/assets/scripts.json",
    "assets": "resources/assets/assets.json"
  },
  "other": {
    "DISABLE_NOTIFIER": false,
    "chmod": "off"
  },
  "alias": {
    "%bower%": "vendor/bower_dl",
    "%node%": "node_modules",
    "%images%": "public/images",
    "%fonts%": "public/fonts"
  }
});
```


**files:** by default they will be in the project root dir but you can override the path e.g "styles": "/resources/styles.json"
```json
{
  "files": {
    "styles": "styles.json",
    "scripts": "scripts.json",
    "assets": "assets.json"
  }
}
```


**filters:** path filter it allowed you to change the default dir in file path e.g:
"%key%/somewhere/somefile.any"

```json
{
  "alias": {
    "%key%": "value",
    "%key%": "value",
    "%images%": "public/images",
    "%fonts%": "public/fonts"
  }
}
```

**chmod:** if you have problem with permissions when you run `npm run dev -- api="assets"` and you are using already `bower` or other package required some times `sudo` on `mac` you can override chmod settings and run `sudo npm run dev -- api="assets"` without any problem:

By Default: `"chmod": "off"`
```json
// work with both javascript and json
{
  "other": {
    "chmod": 666
  }
}
```<commit_msg>Update config.md<commit_after>
## Override Config

**1.** override api config (files, aliases and path) 
```js
mixApi.setConfig({
  "path": {
    "version": {
      "build": "public/build/",
      "manifest": "public/mix-manifest.json"
    },
    "dist": {
      "images": "public/images/",
      "styles": "public/css/",
      "scripts": "public/js/",
      "fonts": "public/fonts/"
    },
    "assets": {
      "images": "resources/assets/images/",
      "styles": "resources/assets/sass/",
      "scripts": "resources/assets/js/",
      "fonts": "resources/assets/public/fonts/"
    }
  },
  "files": {
    "styles": "resources/assets/styles.json",
    "scripts": "resources/assets/scripts.json",
    "assets": "resources/assets/assets.json"
  },
  "other": {
    "DISABLE_NOTIFIER": false,
    "chmod": "off"
  },
  "alias": {
    "%bower%": "vendor/bower_dl",
    "%node%": "node_modules",
    "%images%": "public/images",
    "%fonts%": "public/fonts"
  }
});
```


**files:** by default they will be in the project root dir but you can override the path e.g "styles": "/resources/styles.json"
```json
{
  "files": {
    "styles": "styles.json",
    "scripts": "scripts.json",
    "assets": "assets.json"
  }
}
```


**aliases:** path alias it allowed you to change the default dir in file path e.g:
"%key%/somewhere/somefile.any"

```json
{
  "alias": {
    "%key%": "value",
    "%key%": "value",
    "%images%": "public/images",
    "%fonts%": "public/fonts"
  }
}
```

**chmod:** if you have problem with permissions when you run `npm run dev -- api="assets"` and you are using already `bower` or other package required some times `sudo` on `mac` you can override chmod settings and run `sudo npm run dev -- api="assets"` without any problem:

By Default: `"chmod": "off"`
```json
// work with both javascript and json
{
  "other": {
    "chmod": 666
  }
}
```
{'fraction_non_alphanumeric': 0.2014446227929374, 'fraction_numerical': 0.002140181915462814, 'mean_word_length': 3.1223814773980156, 'pattern_counts': {'":': 78, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '176105', 'n_tokens_mistral': 1320, 'n_tokens_neox': 1281, 'n_words': 341}