Tâmia project generator for Yeoman
Scaffolds out Tâmia and lots of other stuff.
Getting started
- Make sure you have yo installed:
npm install -g yo
. - Install the generator locally or globally:
npm install [-g] generator-tamia
. - Run:
yo tamia
.
Sub-generators
$ yo tamia:framework
framework
Installs/updates latest version of the Tâmia Stylus framework. Also installs jQuery.
styles
Scaffolds styles
direcotory with base Stylus styles. Also creates Gruntfile.
js
Scaffolds js
direcotory with base main.js file. Also adds JSHint, Uglify and creates/updates Gruntfile.
deploy
Configures deploy using shipit.
component
Creates new JS component.
block
Creates new Stylus block. Also updates stylus/index.styl
.
module
Installs Tâmia module. Also updates Gruntfile and index stylesheet.
html
Creates new HTML file.
readme
Creates new HTML file.
dots
Creates dotfiles: .jshintrc
, coffeelint.json
, .jscs.json
, .editorconfig
, .travis.yml
.
humans
Creates humans.txt
.
Additional sub-generators
You can use them without Tâmia.
jqplugin
Creates new jQuery plugin.
wordpress
Installs latest version of WordPress.
wptheme
Scaffolds basic WordPress theme.
Options
$ yo tamia:framework --skip-bower
--skip-bower
, --skip-npm
, --skip-install
Skips installation of Bower packages, npm packages or both.
License
The MIT License, see the included License.md file.