generator-oldmen v0.1.13
generator-oldmen
Generator for boostraping AngularJS applications by Oldmen team
Yeoman generator
Getting Started
Install Yeoman
npm install -g yoInstall generator-oldmen:
npm install -g generator-oldmenUsing generator
Starter template:
Run:
mkdir my-new-project
cd my-new-project
yo oldmenIt 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.
Asset generation:
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:
- config
- run
- constant
- filter
- directive
- service
- model
- controller
To invoke specific generator run:
yo oldmen:controller /users/newOR
yo oldmen:directive focus-onController generator will create html at proper location and add proper route in configs/router.js as a comment.
License
MIT