generator-tb

0.1.2 • Public • Published

generator-tb

A Yeoman generator for Teambition's web app.

Getting Started

Install Yeoman

$ npm install -g yo

Install generator-tb

To install generator-tb from npm, run:

$ npm install -g generator-tb

Usage

Available generators:

  • yo tb:view
  • yo tb:model

Example

$ yo tb:view 'today/task list'

    create src/scripts/views/today/task-list.coffee
    create src/stylesheets/today/task-list.less
    create src/templates/today/task-list/basic.html
    create src/locales/today/task-list/zh.json
    create src/locales/today/task-list/en.json
$ yo tb:model 'today event'

    create src/scripts/models/today-event.coffee
    create src/scripts/collections/today-events.coffee

How to dev

License

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i generator-tb

Weekly Downloads

3

Version

0.1.2

License

none

Last publish

Collaborators

  • island205