An open API service indexing awesome lists of open source software.

https://github.com/charlypoly/generator-yui3

YUI3 project scaffolder
https://github.com/charlypoly/generator-yui3

Last synced: 11 months ago
JSON representation

YUI3 project scaffolder

Awesome Lists containing this project

README

          

(NOT STABLE YET)

A Yeoman generator for YUI3 Projects
==============
**Installation**
```
sudo npm install -g generator-yui3
```

**Create project**

```
yo yui3 awesomeProject
```

**.generator-yui3.json**

Allow you to overwrite default configuration

```
{
"project" : "awesomeProject",
"lang" : ["fr", "en", "es", "de"]
}
```

This generator scaffold the following YUI3 project structure :

```
awesomeproject
└── src
└── awesomeproject-loader
├── build.json
├── js
│ └── awesomeproject.js
├── scripts
│ └── meta_join.js
└── template
└── meta.js
```

**Create module**

```
yo yui3:module
```

**Add template to an existing module is optionnal**

```
yo yui3:addtemplate
```

**Add lang to an existing module**

Without arguments the scaffolder creates all the lang setted in the .generator-yui3.json.

```
yo yui3:addlang
```
or
```
yo yui3:addlang
```

**Use yo yui3:build-module to shift the module**

This can be use whenever you are in the module (js, assets, build, meta, ...)

```
yo yui3:build-module
```

internals tasks for Shifter
==

**compile handlebars template**

```
yo yui3:handlebars
```