Generator for boostraping AngularJS applications by Oldmen team
npm install -g yo
npm install -g generator-oldmen
mkdir my-new-project cd my-new-project yo oldmen
It will create starter Oldmen template of a project including package.json, bower.json, Gruntfile.js and basic assets.
Template includes by default:
And number of grunt dependencies which you can see in package.json.
This generator is tightly integrated with grunt-oldmen-build to simplify files management and packaging in project.
Basically, this tool generates files that are compatible with Oldmen Grunt task and they are picked up and included in build straight away.
There are number of assets that can be generated:
To invoke specific generator run:
yo oldmen:controller /users/new
yo oldmen:directive focus-on
Controller generator will create html at proper location and add proper route in configs/router.js as a comment.