<commit_before># plainpress
A plain Wordpress theme with gulp, scss, and browserify.

## Install
```
$ git clone <EMAIL>:ludens-reklamebyra/plainpress.git && cd plainpress
$ npm install
```

## Run
Default (lints, compiles, and watches php, sass, and js):
```
$ npm run dev
```
Compile (making fontawesome, compiles and minifies):
```
$ npm run build
```
Font Awesome
`$ npm run fontAwesome`<commit_msg>there is now more details documentation. Resolves #5<commit_after># plainpress
A plain Wordpress theme with gulp, scss, and browserify.

The theme provides quick development with wordpress on a local host. (For FTP, use a client like FileZilla or remoteFTP-package from ATOM). This is fully specced with gulp as taskrunner, that gives you SCSS and ES6-javascript without any more configuration. Just follow the installation and run-steps down below.

## Install
```
$ git clone <EMAIL>:ludens-reklamebyra/plainpress.git && cd plainpress
$ npm install
```

## Run

#### Development
Watches SCSS and JS with livereload for faster development.
```
$ npm run dev
```
#### Production
making fontawesome, compiles and minifies
```
$ npm run build
```
#### Font Awesome
`$ npm run fontAwesome`


## Testing javascript
This WP-theme is installed with Mocha and ChaiJS to cover unit tests with javascript.
The unit-tests are also configured with ES6/ES2015.

```
$ npm test
```
* Example:

```javascript
// Import the modules you like
import { expect, should, assert } from 'chai'

describe('your module', () => {
  it('should do something awesome', () => {
    expect('awesome').to.equal('awesome')
  })
})
```
{'fraction_non_alphanumeric': 0.11713395638629283, 'fraction_numerical': 0.004361370716510903, 'mean_word_length': 4.635087719298245, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '31609', 'n_tokens_mistral': 519, 'n_tokens_neox': 474, 'n_words': 192}