<commit_before># generator-hirsch 

[![NPM version](https://img.shields.io/npm/v/generator-hirsch.svg?style=flat)](https://www.npmjs.com/package/generator-hirsch)

> [Yeoman](http://yeoman.io) generator

> Create a module or route based AngularJS Application. 



## Prerequisites
1. Install [Node.js](http://nodejs.org) 
	- on OSX use [homebrew](http://brew.sh) `brew install node`
	- on Windows use [chocolatey](https://chocolatey.org/) `choco install nodejs`
	
2. Install Yeoman `npm install -g yo`

3. Install these NPM packages globally

    ```
    npm install -g bower gulp nodemon        
    ```

## Get Started
1. Install generator-hirsch
    ```
    npm install -g generator-hirsch
    ```

2. Create a new folder and change directory to it
    ```
    mkdir myApp
    cd myApp
    ```

3. Run the generator
    ```
    yo hirsch
    ```
    
## Exploring Hirsch
### Templating
- `yo hirsch:module myModule`
	
	Adds a new module to your project and also the karma tests
	
- `yo hirsch:service myService`
	
	Adds a new service to the chosen module of your project and also some karma tests

- `yo hirsch:filter myFilter`
	
	Adds a new filter to the chosen module of your project and also some karma tests

- `yo hirsch:directive myDirective`
	
	Adds a new directive to the chosen module of your project and also some karma tests

### Task Listing
#### Building
- `gulp`
	
	Injects all JS files into your index.html, generates a css from your less and start a watcher for further changes to restart the process
	
- `gulp build`
	
	Injects all JS files into your index.html and generates a css from your less<commit_msg>docs(README)<commit_after># generator-hirsch 

[![NPM version](https://img.shields.io/npm/v/generator-hirsch.svg?style=flat)](https://www.npmjs.com/package/generator-hirsch)

> [Yeoman](http://yeoman.io) generator

> Create a module or route based AngularJS Application. 



## Prerequisites
1. Install [Node.js](http://nodejs.org) 
	- on OSX use [homebrew](http://brew.sh) `brew install node`
	- on Windows use [chocolatey](https://chocolatey.org/) `choco install nodejs`
	
2. Install Yeoman `npm install -g yo`

3. Install these NPM packages globally

    ```
    npm install -g bower gulp nodemon        
    ```

## Get Started
1. Install generator-hirsch
    ```
    npm install -g generator-hirsch
    ```

2. Create a new folder and change directory to it
    ```
    mkdir myApp
    cd myApp
    ```

3. Run the generator
    ```
    yo hirsch
    ```
    
## Exploring Hirsch
### Templating
- `yo hirsch:module myModule`
	
	Adds a new module to your project and also the karma tests
	
- `yo hirsch:view myNewView`
  	
  Adds a new view template and a controller in the view directory of the chosen module
	
- `yo hirsch:service myService`
	
	Adds a new service to the chosen module of your project and also some karma tests

- `yo hirsch:filter myFilter`
	
	Adds a new filter to the chosen module of your project and also some karma tests

- `yo hirsch:directive myDirective`
	
	Adds a new directive to the chosen module of your project and also some karma tests

### Task Listing
#### Building
- `gulp`
	
	Injects all JS files into your index.html, generates a css from your less and start a watcher for further changes to restart the process
	
- `gulp build`
	
	Injects all JS files into your index.html and generates a css from your less
{'fraction_non_alphanumeric': 0.09357417826473201, 'fraction_numerical': 0.0035534498075214687, 'mean_word_length': 3.2437185929648242, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '2291409', 'n_tokens_mistral': 1100, 'n_tokens_neox': 1033, 'n_words': 416}