0.5.7 • Published 9 years ago

generator-lark v0.5.7

Weekly downloads
9
License
MIT
Repository
github
Last release
9 years ago

Lark.js generator

Yeoman generator for Lark.js - lets you quickly set up a project with sensible defaults and best practices.

NPM version build status NPM downloads Node.js dependencies

Usage

Install generator-lark:

npm install -g generator-lark

You can Skip this by pass an app name . Make a new directory, and cd into it.:

mkdir my-new-project && cd $_

Run yo lark, optionally passing an app name:

yo lark [app-name]

Generators

Available generators:

Note: Generators are to be run from the root directory of your app.

App

Sets up a new Lark.js app, generating all the boilerplate you need to get started.

Example:

yo lark

Controller

Generate controller file

Example:

yo lark:controller user  # create controllers/user/index.js
yo lark:controller user/  # create controllers/user/index.js
yo lark:controller user/create.js  # create controllers/user/create.js

DataService

Generate dataService file

Example:

yo lark:data user.js  # create models/dataService/user.js

PageService

Generate pageService file

Example:

yo lark:page user.js  # create models/pageService/user.js

Dao

Generate dao file

Example:

yo lark:dao user.js  # create models/dao/user.js
0.5.7

9 years ago

0.5.6

9 years ago

0.5.5

9 years ago

0.5.4

9 years ago

0.5.3

9 years ago

0.5.2

9 years ago

0.5.1

9 years ago

0.4.7

9 years ago

0.4.6

9 years ago

0.4.5

9 years ago

0.4.4

9 years ago

0.4.3

9 years ago

0.4.2

9 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago

0.0.0

9 years ago