<commit_before># grunt-codekit

> Grunt plugin to compile *.kit files using the <a
> href="http://incident57.com/codekit/kit.php">Kit language</a>

## Getting Started

Install the plugin (Python is a required dependency)

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

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

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

## The "codekit" task

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

### Usage Example

```js
grunt.initConfig({
  codekit: {
    options: {
      // None yet
    },
    your_target: {
      files : {
        'index.html' : ['index.kit'],
        'app.html' : ['app.kit'],
      }
    },
  },
});
```


## TODO
- Release a functioning version on the NPM registry
- Support use of framework libraries
- Support concatenation of javascript using the @codekit-append/prepend directives
- Making the prepend/append directives user settable (means PrePros support)

## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).

## Release History
_(Nothing yet)_<commit_msg>Updated readme. Releasing version 0.1<commit_after># grunt-codekit

> Grunt plugin for compiling the <a href="http://incident57.com/codekit/kit.php">Kit language</a>

The Kit Language is a simple open source html templating language used in the commercial programs CodeKit and
PrePros. It imports files into other html files and does simple variable substitution. This plugin makes it possible to compile these files using Grunt.

So far this project only supports compiling the Kit Language, but it
might be extended in the future to also support the directives from
CodeKit and PrePros for concatenating javascript files.

## Getting Started

Install the plugin 

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

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

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

Python is a required dependency

## The "codekit" task

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

### Usage Example

```js
grunt.initConfig({
  codekit: {
    options: {
      // None yet
    },
    your_target: {
      files : {
        'index.html' : ['index.kit'],
        'app.html' : ['app.kit'],
      }
    },
  },
});
```

## TODO
- <del>Release a functioning version on the NPM registry</del>
- Support use of framework libraries
- Support concatenation of javascript using the @codekit-append/prepend directives
- Making the prepend/append directives user settable (means PrePros support)

## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).

## Release History
0.1 First release. Only compiling of Kit files supported. No framework
support.
{'fraction_non_alphanumeric': 0.09871513632090254, 'fraction_numerical': 0.0025070510811657787, 'mean_word_length': 3.8290468986384267, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 12, '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': '3557901', 'n_tokens_mistral': 942, 'n_tokens_neox': 892, 'n_words': 379}