generator-donejs-app
v0.10.1
Published
A generator for your DoneJS application
Downloads
11
Readme
generator-donejs
A Yeoman generator for your DoneJS application. Available generators are:
app
to create a new DoneJS applicationplugin
to create a new DoneJS plugingenerator
to create a new DoneJS generator projectcomponent
to create a CanJS componentsupermodel
to create a can-connect connectionmodule
to generate a general purpose modlet
Using generators
Important: While this repository is a Yeoman generator it should only be used directly with the DoneJS cli instead of the yo
command line.
With the CLI installed via
npm install donejs -g
The following commands are availbale. To initialize a new DoneJS related project:
donejs init [projectname]
create a new DoneJS applicationdonejs plugin [projectname]
create a new DoneJS plugindonejs init --type generator [projectname]
create a new generator project
Within a DoneJS application or plugin:
donejs add component
to create a CanJS componentdonejs add supermodel
to create a can-connect connectiondonejs add module
to generate a general purpose modlet