インストール
#install grunt
npm install -g grunt-cli
#install yo with npm
npm install -g yo bower
必要なジェネレータのインストール
#install some Scaffolding
npm install -g generator-webapp
npm install -g generator-angular
プロジェクトディレクトリの作成(Scaffold)
#project creation
yo webapp
yo angular
サーバー起動
#launch server (Gruntfile included in project)
grunt server
bower
#search,add,update dependencies
bower search <dep>
bower install <dep>..<depN>
bower list
bower update <dep>
他人が作ったプロジェクトの場合は
bower install & npm install
If you're using RequireJS... grunt bower
GULP / GRUNT
# Preview an app you have generated (with Livereload).
$ gulp serve / grunt serve
# Run the unit tests for an app.
$ gulp test / grunt serve
# Build an optimized, production-ready version of your app.
$ gulp /grunt