Closed fobbyal closed 9 years ago
Sorry I am git hub newbbie. this is actually for cg-gas and not for this. Sorry for the inconvenience.
There is a minor error on line 10
var ngHtml2js = require("gulp-ng-html2js");
note the double quotes, it should use single quotes to avoid conflict with jshint (all other requiere sentences are using single quotes)
The gulp script does not work out-of-box. I made the modifications below so that it would work out of box. The changes are tested with the ui-router option selected.
Problems found
Remaining Problem
I could not figure out why browswersync stops under the serve:dist task. The server stops as soon as test:unit is done with Karma. I have removed the build:dist dependency so i can at least serve it after i manually run build:dist. Sorry I am new to the javascript scene so i don't know enough about this to fix it. Please let me know why so I can learn. Another question I have is if watch functionality should be implemented for build:dist.
Quesitonable scaffolding (Not sure if this should be accepted)
Future work
Based on reading google’s doc via https://docs.google.com/document/d/1XXMvReO8-Awi1EZXAXS4PzDzdNvV6pGcuaF4 Q9821Es/pub. It seems that this is not a word to word scaffolding implementation. I am thinking about extending this project to utilize the components and sub-section organization as well as adding -directive -factory -service -controller suffix to all js file names that are generated through the sub generators.