<commit_before># grunt-ui5

> Tasks around the OpenUI5/SAPUI5 framework.

## Getting Started
This plugin requires Grunt `~0.4.5`

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```shell
npm install grunt-ui5 --save-dev
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

```js
grunt.loadNpmTasks('grunt-ui5');
```

## The "ui5" task

### Overview
In your project's Gruntfile, add a section named `ui5` to the data object passed into `grunt.initConfig()`.

```js
grunt.initConfig({
    "ui5-component-preload": {
        default: {
            options: {
            },
            components: [
            ]
        }
    },
    "ui5-library-preload": {
        default: {
            options: {
            },
            libraries: [
            ]
        }
    },
});
```

### Options

#### options.minify
Type: `boolean`<commit_msg>improved/fixed readme<commit_after># grunt-ui5

> Tasks around the [OpenUI5](https://github.com/sap/openui5)/SAPUI5 framework.

## Getting Started
This plugin requires Grunt `~0.4.5`

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```shell
npm install grunt-ui5 --save-dev
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

```js
grunt.loadNpmTasks('grunt-ui5');
```

## The "ui5" tasks

### Overview
In your project's Gruntfile, add a section named `ui5-component-preload` or `ui5-library-preload` to the data object passed into `grunt.initConfig()`.

```js
grunt.initConfig({
    "ui5-component-preload": {
        default: {
            options: {
            },
            components: [
            ]
        }
    },
    "ui5-library-preload": {
        default: {
            options: {
            },
            libraries: [
            ]
        }
    },
});
```

### Options

#### options.minify
Type: `boolean`
{'fraction_non_alphanumeric': 0.12881219903691815, 'fraction_numerical': 0.01043338683788122, 'mean_word_length': 2.6769911504424777, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '3762121', 'n_tokens_mistral': 797, 'n_tokens_neox': 770, 'n_words': 238}