Prototype generator
Yeoman generator for Prototype.
Getting started
-
Install Yeoman:
npm install -g yo
-
Install the package via:
npm install -g generator-prototype
-
Or copy the repository via clone to your directory (it depends on the system, just find your directory with yo installed):
git clone https://github.com/Prototype-Group/generator-prototype.git ~/AppData/Roaming/npm/node_modules
Hints
Sometimes you need to clone the package with an absolute path. On windows the clone command can look like this:
git clone https://github.com/Prototype-Group/generator-prototype.git D:\Users\Username\AppData\Roaming\npm\node_modules
- Replace 'Username' with your username
Usage
Prototype app scaffolds.
mkdir project && cd project
yo prototype [--skip-install]
Options
-
-s
alias --skip-install
Skips the automatic execution of bower
and npm
after scaffolding has finished.
-
-w
alias --skip-welcome-message
Skips app welcome message.
Plugins and Modules
You can apply multiple addons and grunt modules to your project. Just choose specific ones:
Assemble
- permalinks
- assemble-contrib-contextual
- assemble-contrib-sitemap
- assemble-related-pages
Grunt modules
CMS snippets (work in progress)
You can choose between multiple content management systems (Drupal, Typo3, Magnolia, CoreMedia).
After choosing a system you will get HTML-snippets and a few new SCSS files, which you can use:
- Drupal 7
- TYPO3 6.2
- Magnolia
- CoreMedia
Alternative
License
MIT License
TODO: