0.0.3 • Published 9 years ago

generator-ns v0.0.3

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

Noscript generator

A noscript project generator for Yeoman.

Getting started

Make sure you have yo and the generator installed:

npm install -g yo generator-ns

Run yo ns:generator to launch appropriate generator inside LIZA directory. Make sure a file .yo-rc.json is located in the root of your LIZA project (it may be blank).

Generators

List of available generators:

Model

Generates ns.Model definition and pairs it with server-side model retrieval module. Note that dasherized or underscored names are camel-cased as per convention. It could generate the following entities for you:

  • a model
  • a test suite for the model
  • a server-side model function (JSX)
  • a test suite for the server-side model function

Example:

yo ns:model

View

Generates ns.View definition with a corresponding Yate template. Note that dasherized or underscored names are camel-cased as per convention. It could generate the following entities for you:

  • a view
  • a template for the view (YATE)
  • a test suite for the view

Example:

yo ns:view

License

MIT License