henyojess / generator-gulp-ng

This is a yeoman generator for an angularjs project that follows the Best Practice Recommendations for Angular App Structure. It takes advantage of the gulp build tool and makes use of bower and npm for dependency management.
137 stars 27 forks source link

This is a yeoman generator for an angularjs project that follows the Best Practice Recommendations for Angular App Structure.

It takes advantage of the gulp build tool and makes use of bower and npm for dependency management.


GENERATED DIRECTORY STRUCTURE

app/
  components/
    app_service.js
    app_service_test.js
  main/
    main.html
    main_controller.js
    main_controller_test.js
  app.css
  app.js
  app_controller.js
  app_controller_test.js
  index.html
bower_components/    
node_modules/
.bowerrc
.gitignore
README.md
bower.json
gulpfile.js
karma-unit.js
package.json

FEATURES


Prerequisites


USAGE

1) npm install -g generator-gulp-ng; npm install -g gulp; npm install -g karma-cli

2) mkdir myApp && cd myApp && yo gulp-ng

3) gulp

4) karma start karma-unit.js

5) open browser to http://localhost:9000

6) start hacking


Support

For questions and issues: https://github.com/henyojess/generator-gulp-ng/issues