# generator-processwire

> yeoman generator for processwire env.

Latest version **0.0.7** (published 2016-08-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install generator-processwire
pnpm add generator-processwire
yarn add generator-processwire
bun add generator-processwire
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2016-08-30 |
| First published | 2016-08-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.12.0 |
| Dependencies | 8 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Pascal Franzke |
| Maintainers | ex3mp |
| Keywords | yeoman-generator |

## Links

- npm: https://www.npmjs.com/package/generator-processwire
- Repository: https://github.com/EX3MP/generator-processwire
- Homepage: https://github.com/EX3MP/generator-processwire#readme
- Issues: https://github.com/EX3MP/generator-processwire/issues
- npm.io page: https://npm.io/package/generator-processwire

## Dependencies (8)

- [exec](https://npm.io/package/exec.md) ^0.2.1
- [chalk](https://npm.io/package/chalk.md) ^0.5.1
- [delete](https://npm.io/package/delete.md) ~0.1.5
- [wrench](https://npm.io/package/wrench.md) ~1.5.8
- [fs.extra](https://npm.io/package/fs.extra.md) ^1.3.2
- [jsonfile](https://npm.io/package/jsonfile.md) ^2.2.3
- [git-clone](https://npm.io/package/git-clone.md) ~0.0.4
- [yeoman-generator](https://npm.io/package/yeoman-generator.md) ^0.18.8

## Recent versions

- 0.0.7 (latest) — 2016-08-30

## README

# generator-processwire

## NPM Installation

```
npm install -g generator-processwire
```

- [License](license.txt)
- [Manual Installation](install.md)

## What is generator processwire?

generator processwire is a yeoman generator that downloads and scaffolds  processwire, adds several modules and (if you wish) adds a complete grunt-based frontend-workflow to bundle and minify sass, js and image assets. Oh - if you're more into managing your frontend assets with ES6 and webpack we've got you covered soon!

### Ok, so what exactly does it do?
- downloads the latest processwire from github
- adds a fancy frontend toolchain [https://github.com/EX3MP/kickstarter-grunt/](https://github.com/EX3MP/kickstarter-grunt/)
- downloads a repo for a custom processwire site-profile
- downloads modules for custom profile from repos
- installs bower and npm modules via  configs
- creates a readme.md with all bower and npm modules that are used

--------------------------------------------------------------------------------

## Config.json

```bash
generator-processwire/app/config.default.json
generator-processwire/app/config.json
```

### config.json example

```json
{
    "kickstarter": {
        "branch":"master",
        "name": "kickstarter-grunt",
        "url": "git@github.com:EX3MP/kickstarter-grunt.git"
    },
    "profile": {
        "branch":"master",
        "name": "site-rocket",
        "url": "git@github.com:EX3MP/site-rocket.git"
    },
    "questions_defaults": {
        "name": "no-name",
        "author" : "",
        "authorUrl" : "",
        "authorMail": "",
        "description": ""
    }
}
```

### yo-processwire.json example from [kickstarter-grunt](https://github.com/EX3MP/kickstarter-grunt)

```json
{
    "mv": [{
        "from": "install/_Gruntfile.js",
        "to": "Gruntfile.js"
    }],
    "bower": {
        "dependencies": {
            "jquery": "*",
            "owl-carousel2": "*",
            "headroom.js": "https://npmcdn.com/headroom.js/bower.zip",
            "lazysizes": "*"
        }
    },
    "npm": {
        "dependencies": {},
        "devDependencies": {
            "grunt": "*",
            "grunt-cli": "*",
            "grunt-exec": "*",
            "grunt-copy": "*",
            "grunt-banner": "*",
            "grunt-modernizr": "*",
            "grunt-sass": "*",
            "load-grunt-tasks": "*",
            "grunt-concurrent": "*",
            "grunt-autoprefixer": "*",
            "grunt-contrib-sass": "*",
            "grunt-contrib-copy": "*",
            "grunt-browser-sync": "*",
            "grunt-contrib-watch": "*",
            "grunt-contrib-uglify": "*",
            "foundation-sites": "*"
        }
    }
}
```

---
_Source: https://npm.io/package/generator-processwire · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
