A yeoman generator to create dojo widgets
JavaScript HTML CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
test using xstyle makes this uncessary Aug 19, 2015
.editorconfig
.gitattributes first load Feb 20, 2014
.gitignore
.jshintrc
.travis.yml first load Feb 20, 2014
GruntFile.js
README.md Release v0.3.0 May 11, 2015
generator-dojo-widget.sublime-project
package.json

README.md

generator-dojo-widget

Build Status Dependency Status

Yeoman generator

Getting Started

$ npm install -g yo
$ npm install -g generator-dojo-widget

Finally, initiate the generator:

$ yo dojo-widget

What will happen

A few opinionated files will be created. If you created a widget called test, the following files will be created for you.

  'app/test.js',
  'app/templates/test.html',
  'app/tests/testTests.html',
  'app/tests/spec/Spectest.js',
  'app/resources/test.styl'

The /test.js file will contain your widget logic.
/templates/test.html will be an empty template file if your widget has a template.
tests/testTests.html is an html page that you can load to see your widget in isolation.
tests/spec/Spectest.js is a jasmine test spec file with a default test instantiating your new widget.
resources/test.styl is the style sheet containing styles specific to your new widget.

License

MIT

Release Notes

0.3.0 Update to yeoman 0.19 0.2.2 Update greeting with yosay 0.2.1 Remove deprecated peerDependencies
0.2.0 Add xstyle and stylus for css