generator-canjs
v0.9.12
Published
A generator for your CanJS Projects
Downloads
17
Readme
generator-canjs
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 applicationplugin
to create a new CanJS plugingenerator
to create a new CanJS generator projectcomponent
to create a CanJS componentsupermodel
to create a can-connect connectionmodule
to generate a general purpose modlet
Using generators
The following commands are availbale. To initialize a new CanJS related project:
yo canjs init
create a new CanJS application or add to existing.yo canjs plugin [projectname]
create a new CanJS plugin
Within a CanJS application or plugin:
yo canjs add component
to create a CanJS componentyo canjs add supermodel
to create a can-connect connectionyo canjs add module
to generate a general purpose modlet
using other generators
yo canjs init --type generator [projectname]
create a new generator project