All Projects → retro → generator-canjs

retro / generator-canjs

Licence: other
Yeoman generator for CanJS

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

generator-canjs

Build Status npm version Coverage Status

Changelog

  • Moved in donejs binary
  • Moved in donejs-cli
  • Stripped out done-* dependencies for projects as this gets extra option to add that as this is only ssr related stuff.
  • Moved donejs-cli dependencies that was a cli parm befor into the generator

A Yeoman generator for your CanJS application. Available generators are:

  • app to create a new CanJS application

  • plugin to create a new CanJS plugin

  • generator to create a new CanJS generator project

  • component to create a CanJS component

  • supermodel to create a can-connect connection

  • module to generate a general purpose modlet

Using generators

Important: While this repository is a Yeoman generator it should only be used directly with the CanJS cli instead of the yo command line.

With the CLI installed via

npm install generator-canjs -g

The following commands are availbale. To initialize a new CanJS related project:

  • yo canjs init [projectname] create a new CanJS application
  • yo canjs plugin [projectname] create a new CanJS plugin
  • yo canjs init --type generator [projectname] create a new generator project

Within a CanJS application or plugin:

  • yo canjs add component to create a CanJS component
  • yo canjs add supermodel to create a can-connect connection
  • yo canjs add module to generate a general purpose modlet
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].