0.6.1 • Published 10 years ago

generator-xd-angular v0.6.1

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

generator-xd-angular

Yeoman generator for creating AngularJS applications. It currently serves as a project starter for my own projects, but I figured I would share in case anyone else finds it useful.

###Features

  • Modularized AngularJS app structured by functionality, instead of type.
  • Stripped down express 4 server ready to be configured anyway you choose.
  • Gulp dev, tdd and test tasks
  • Clientside jade partials built by gulp
  • Clientside jade templates for views and directives compiled and added to the $templateCache
  • Sass-Bootstrap, Compass, Font-Awesome pre-configured
  • Generators for directive, view and factory get generated as separate modules with a passing mocha-chai test

###Prerequisites

  • Compass
  • Gulp
  • Yeoman

###Generators App generator:

yo xd-angular

creates an angular application in app directory creates an express server in server directory creates a gulpfile with dev, test and tdd tasks creates karma configuration that can be used from gulp or webstorm creates a starter README.md for your project installs bower & npm modules

View generator:

yo xd-angular:view view-name

creates a new directory view-name in app/views creates an angular controller and spec in that directory creates a jade template creates a sass file

Directive generator:

yo xd-angular:directive directive-name

creates a new directory directive-name in app/components creates an angular directive and spec in that directory creates a jade template creates a sass file

Factory generator:

yo xd-angular:factory factory-name

creates a new directory factory-name in app/services creates an angular service and spec in that directory

API generator:

yo xd-angular:api api-name baseUrl resourceName

creates a new directory api-name in app/api creates a restangular service, mock data value, e2e mock and spec in that directory

0.6.1

10 years ago

0.6.0

10 years ago

0.5.3

10 years ago

0.5.2

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.4

10 years ago

0.4.3

10 years ago

0.4.2

10 years ago

0.4.1

10 years ago

0.4.0

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.0.1

10 years ago