<commit_before># Building Assets Required for concrete5


## Requirements
In order to build assets for concrete5 you need:
- [Node.js](http://nodejs.org/)
- [npm](http://npmjs.org/) (may be bundled with Node.js)

Once you have node.js and npm, you have to install the [grunt](http://gruntjs.com/) client.
You can install it globally with `npm install -g grunt-cli`. This requires that you may need to use sudo (for OS X, *nix, BSD, …) or run your command shell as Administrator (for Windows).
If you don't have administrator rights, you may need to install the grunt client locally to your project using `npm install grunt-cli`.
Unfortunately, this will not put the grunt executable in your PATH, so you'll need to specify its explicit location when executing it (for OS X, *nix, BSD `./node_modules/.bin/grunt`, for Windows `node_modules\.bin\grunt`).

Once you have installed the grunt client, you need to install the project dependencies: simply launch the following command: `npm install grunt grunt-contrib-uglify grunt-contrib-less grunt-contrib-cssmin` 


## Building .css files

- For debugging: `grunt css:debug`
	- The generated .css files are more readable, but they have a slightly bigger size
- For production: `grunt css:release` (or simply `grunt css`)
	-  The generated .css files are slightly smaller, but they are harder to read from a human point of view


## Building .js files

- For debugging: `grunt js:debug`
	- Building for debug will generate JavaScript SourceMap files, that greatly improve the debugging of scripts with modern browsers.
- For production: `grunt js:release` (or simply `grunt js`)
	- SourceMap files won't be generated.  
<commit_msg>Update instructions because of package.json<commit_after># Building Assets Required for concrete5


## Requirements
In order to build assets for concrete5 you need:
- [Node.js](http://nodejs.org/)
- [npm](http://npmjs.org/) (may be bundled with Node.js)

Once you have node.js and npm, you have to install the [grunt](http://gruntjs.com/) client.
You can install it globally with `npm install -g grunt-cli`. This requires that you may need to use sudo (for OS X, *nix, BSD, …) or run your command shell as Administrator (for Windows).
If you don't have administrator rights, you may need to install the grunt client locally to your project using `npm install grunt-cli`.
Unfortunately, this will not put the grunt executable in your PATH, so you'll need to specify its explicit location when executing it (for OS X, *nix, BSD `node_modules/.bin/grunt`, for Windows `node_modules\.bin\grunt`).

Once you have installed the grunt client, you need to install the project dependencies: simply launch the following command: `npm install`


## Building .css files

- For debugging: `grunt css:debug`
	- The generated .css files are more readable, but they have a slightly bigger size
- For production: `grunt css:release` (or simply `grunt css`)
	-  The generated .css files are slightly smaller, but they are harder to read from a human point of view


## Building .js files

- For debugging: `grunt js:debug`
	- Building for debug will generate JavaScript SourceMap files, that greatly improve the debugging of scripts with modern browsers.
- For production: `grunt js:release` (or simply `grunt js`)
	- SourceMap files won't be generated.  

{'fraction_non_alphanumeric': 0.08413751507840772, 'fraction_numerical': 0.0012062726176115801, 'mean_word_length': 4.273449920508744, 'pattern_counts': {'":': 0, '<': 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': '5851363', 'n_tokens_mistral': 946, 'n_tokens_neox': 882, 'n_words': 468}