Skip to content

Instantly share code, notes, and snippets.

@othiym23
Created September 24, 2014 02:31
Show Gist options
  • Save othiym23/f29bc1dd54be4f3d0c52 to your computer and use it in GitHub Desktop.
Save othiym23/f29bc1dd54be4f3d0c52 to your computer and use it in GitHub Desktop.
bauchelain% mkdir test-angular
bauchelain% cd test-angular
bauchelain% yo angular testApp
_-----_
| | .--------------------------.
|--(o)--| | Welcome to Yeoman, |
`---------´ | ladies and gentlemen! |
( _´U`_ ) '--------------------------'
/___A___\
| ~ |
__'.___.'__
´ ` |° ´ Y `
Out of the box I include Bootstrap and some AngularJS recommended modules.
? Would you like to use Sass (with Compass)? Yes
? Would you like to include Bootstrap? Yes
? Would you like to use the Sass version of Bootstrap? Yes
? Which modules would you like to include? angular-animate.js, angular-cookies.js, angular-resource.js, angular-route.js, angular-sanitize.js, angular-touch.js
create app/styles/main.scss
create app/index.html
create bower.json
create .bowerrc
create package.json
create Gruntfile.js
invoke angular:common:/usr/local/lib/node_modules/generator-angular/app/index.js
create .editorconfig
create .gitattributes
create .jshintrc
create .gitignore
create test/.jshintrc
create app/.buildignore
create app/.htaccess
create app/404.html
create app/favicon.ico
create app/robots.txt
create app/views/main.html
create app/images/yeoman.png
invoke angular:main:/usr/local/lib/node_modules/generator-angular/app/index.js
create app/scripts/app.js
invoke angular:controller:/usr/local/lib/node_modules/generator-angular/app/index.js
create app/scripts/controllers/main.js
create test/spec/controllers/main.js
invoke karma:app
I'm all done. Running bower install & npm install for you to install the required dependencies. If this fails, try running the command yourself.
invoke angular:route
invoke angular:controller:/usr/local/lib/node_modules/generator-angular/route/index.js
create app/scripts/controllers/about.js
create test/spec/controllers/about.js
invoke angular:view:/usr/local/lib/node_modules/generator-angular/route/index.js
create app/views/about.html
create test/karma.conf.js
create .travis.yml
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
bower angular#~1.2.0 cached git://github.com/angular/bower-angular.git#1.2.25
bower angular#~1.2.0 validate 1.2.25 against git://github.com/angular/bower-angular.git#~1.2.0
bower json3#~3.3.1 cached git://github.com/bestiejs/json3.git#3.3.2
bower json3#~3.3.1 validate 3.3.2 against git://github.com/bestiejs/json3.git#~3.3.1
bower es5-shim#~3.1.0 cached git://github.com/es-shims/es5-shim.git#3.1.1
bower es5-shim#~3.1.0 validate 3.1.1 against git://github.com/es-shims/es5-shim.git#~3.1.0
bower bootstrap-sass-official#~3.2.0 cached git://github.com/twbs/bootstrap-sass.git#3.2.0+2
bower bootstrap-sass-official#~3.2.0 validate 3.2.0+2 against git://github.com/twbs/bootstrap-sass.git#~3.2.0
bower angular-resource#~1.2.0 cached git://github.com/angular/bower-angular-resource.git#1.2.25
bower angular-resource#~1.2.0 validate 1.2.25 against git://github.com/angular/bower-angular-resource.git#~1.2.0
bower angular-cookies#~1.2.0 cached git://github.com/angular/bower-angular-cookies.git#1.2.25
bower angular-cookies#~1.2.0 validate 1.2.25 against git://github.com/angular/bower-angular-cookies.git#~1.2.0
bower angular-sanitize#~1.2.0 cached git://github.com/angular/bower-angular-sanitize.git#1.2.25
bower angular-sanitize#~1.2.0 validate 1.2.25 against git://github.com/angular/bower-angular-sanitize.git#~1.2.0
bower angular-animate#~1.2.0 cached git://github.com/angular/bower-angular-animate.git#1.2.25
bower angular-animate#~1.2.0 validate 1.2.25 against git://github.com/angular/bower-angular-animate.git#~1.2.0
bower angular-touch#~1.2.0 cached git://github.com/angular/bower-angular-touch.git#1.2.25
bower angular-touch#~1.2.0 validate 1.2.25 against git://github.com/angular/bower-angular-touch.git#~1.2.0
bower angular-route#~1.2.0 cached git://github.com/angular/bower-angular-route.git#1.2.25
bower angular-route#~1.2.0 validate 1.2.25 against git://github.com/angular/bower-angular-route.git#~1.2.0
bower angular-mocks#~1.2.0 cached git://github.com/angular/bower-angular-mocks.git#1.2.25
bower angular-mocks#~1.2.0 validate 1.2.25 against git://github.com/angular/bower-angular-mocks.git#~1.2.0
bower angular-scenario#~1.2.0 cached git://github.com/angular/bower-angular-scenario.git#1.2.25
bower angular-scenario#~1.2.0 validate 1.2.25 against git://github.com/angular/bower-angular-scenario.git#~1.2.0
bower jquery#>= 1.9.0 cached git://github.com/jquery/jquery.git#2.1.1
bower jquery#>= 1.9.0 validate 2.1.1 against git://github.com/jquery/jquery.git#>= 1.9.0
bower json3#~3.3.1 install json3#3.3.2
bower es5-shim#~3.1.0 install es5-shim#3.1.1
bower bootstrap-sass-official#~3.2.0 install bootstrap-sass-official#3.2.0+2
bower angular-resource#~1.2.0 install angular-resource#1.2.25
bower angular-sanitize#~1.2.0 install angular-sanitize#1.2.25
bower angular#~1.2.0 install angular#1.2.25
bower angular-cookies#~1.2.0 install angular-cookies#1.2.25
bower angular-touch#~1.2.0 install angular-touch#1.2.25
bower angular-animate#~1.2.0 install angular-animate#1.2.25
bower jquery#>= 1.9.0 install jquery#2.1.1
bower angular-route#~1.2.0 install angular-route#1.2.25
bower angular-mocks#~1.2.0 install angular-mocks#1.2.25
bower angular-scenario#~1.2.0 install angular-scenario#1.2.25
> [email protected] install /Users/ogd/Documents/projects/test-angular/node_modules/karma/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild
|
json3#3.3.2 bower_components/json3
es5-shim#3.1.1 bower_components/es5-shim
bootstrap-sass-official#3.2.0+2 bower_components/bootstrap-sass-official
└── jquery#2.1.1
angular-resource#1.2.25 bower_components/angular-resource
└── angular#1.2.25
angular-sanitize#1.2.25 bower_components/angular-sanitize
└── angular#1.2.25
angular#1.2.25 bower_components/angular
angular-cookies#1.2.25 bower_components/angular-cookies
└── angular#1.2.25
angular-touch#1.2.25 bower_components/angular-touch
└── angular#1.2.25
angular-animate#1.2.25 bower_components/angular-animate
└── angular#1.2.25
jquery#2.1.1 bower_components/jquery
angular-route#1.2.25 bower_components/angular-route
└── angular#1.2.25
angular-mocks#1.2.25 bower_components/angular-mocks
└── angular#1.2.25
angular-scenario#1.2.25 bower_components/angular-scenario
└── angular#1.2.25
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
SOLINK_MODULE(target) Release/fse.node: Finished
|
> [email protected] install /Users/ogd/Documents/projects/test-angular/node_modules/karma-phantomjs-launcher/node_modules/phantomjs
> node install.js
Download already available at /var/folders/bf/1f70gl7x2_g0s1dchcrw97xm0000gn/T/phantomjs/phantomjs-1.9.7-macosx.zip
Extracting zip contents
Copying extracted folder /var/folders/bf/1f70gl7x2_g0s1dchcrw97xm0000gn/T/phantomjs/phantomjs-1.9.7-macosx.zip-extract-1411525808908/phantomjs-1.9.7-macosx -> /Users/ogd/Documents/projects/test-angular/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /Users/ogd/Documents/projects/test-angular/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/bin/phantomjs
/
> [email protected] install /Users/ogd/Documents/projects/test-angular/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
SOLINK_MODULE(target) Release/bufferutil.node: Finished
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
SOLINK_MODULE(target) Release/validation.node: Finished
npm WARN unmet dependency /Users/ogd/Documents/projects/test-angular/node_modules/grunt/node_modules/findup-sync requires lodash@'~2.4.1' but will load
npm WARN unmet dependency /Users/ogd/Documents/projects/test-angular/node_modules/grunt/node_modules/lodash,
npm WARN unmet dependency which is version 0.9.2
npm WARN unmet dependency /Users/ogd/Documents/projects/test-angular/node_modules/grunt/node_modules/grunt-legacy-log requires lodash@'~2.4.1' but will load
npm WARN unmet dependency /Users/ogd/Documents/projects/test-angular/node_modules/grunt/node_modules/lodash,
npm WARN unmet dependency which is version 0.9.2
npm WARN unmet dependency /Users/ogd/Documents/projects/test-angular/node_modules/grunt/node_modules/js-yaml/node_modules/argparse requires underscore.string@'~2.3.1' but will load
npm WARN unmet dependency /Users/ogd/Documents/projects/test-angular/node_modules/grunt/node_modules/underscore.string,
npm WARN unmet dependency which is version 2.2.1
npm WARN unmet dependency /Users/ogd/Documents/projects/test-angular/node_modules/grunt-google-cdn/node_modules/google-cdn/node_modules/cdnjs-cdn-data requires semver@'~2.2.1' but will load
npm WARN unmet dependency /Users/ogd/Documents/projects/test-angular/node_modules/grunt-google-cdn/node_modules/google-cdn/node_modules/semver,
npm WARN unmet dependency which is version 2.3.2
npm WARN unmet dependency /Users/ogd/Documents/projects/test-angular/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-wrapper/node_modules/bin-version-check/node_modules/bin-version/node_modules/find-versions requires get-stdin@'^0.1.0' but will load
npm WARN unmet dependency /Users/ogd/Documents/projects/test-angular/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/get-stdin,
npm WARN unmet dependency which is version 3.0.0
npm WARN unmet dependency /Users/ogd/Documents/projects/test-angular/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/download/node_modules/archive-type requires get-stdin@'^2.0.0' but will load
npm WARN unmet dependency /Users/ogd/Documents/projects/test-angular/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/get-stdin,
npm WARN unmet dependency which is version 3.0.0
npm WARN unmet dependency /Users/ogd/Documents/projects/test-angular/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin/node_modules/bin-wrapper/node_modules/bin-version-check/node_modules/bin-version/node_modules/find-versions requires get-stdin@'^0.1.0' but will load
npm WARN unmet dependency /Users/ogd/Documents/projects/test-angular/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/get-stdin,
npm WARN unmet dependency which is version 3.0.0
[email protected] node_modules/grunt-karma
└── [email protected]
[email protected] node_modules/karma-phantomjs-launcher
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/karma
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/karma-jasmine
\
> [email protected] postinstall /Users/ogd/Documents/projects/test-angular/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin
> node lib/install.js
downloading : [object Object]
progress : [====================] 100% 0.0s
✔︎ pre-build test passed successfully!
> [email protected] postinstall /Users/ogd/Documents/projects/test-angular/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle
> node lib/install.js
downloading : [object Object]
progress : [====================] 100% 0.0s
✔︎ pre-build test passed successfully!
> [email protected] postinstall /Users/ogd/Documents/projects/test-angular/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin
> node lib/install.js
downloading : [object Object]
progress : [====================] 100% 0.0s
✔︎ pre-build test passed successfully!
> [email protected] postinstall /Users/ogd/Documents/projects/test-angular/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin
> node lib/install.js
downloading : [object Object]
progress : [====================] 100% 0.0s
✔︎ pre-build test passed successfully!
[email protected] node_modules/grunt-contrib-copy
[email protected] node_modules/jshint-stylish
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected])
[email protected] node_modules/grunt-contrib-clean
└── [email protected]
[email protected] node_modules/grunt-concurrent
├── [email protected] ([email protected])
└── [email protected]
[email protected] node_modules/grunt-contrib-concat
└── [email protected] ([email protected], [email protected], [email protected])
[email protected] node_modules/grunt-filerev
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected])
[email protected] node_modules/grunt-contrib-compass
├── [email protected]
├── [email protected]
└── [email protected]
[email protected] node_modules/time-grunt
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected])
[email protected] node_modules/grunt-contrib-cssmin
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/grunt-newer
├── [email protected]
└── [email protected]
[email protected] node_modules/grunt-contrib-uglify
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/grunt-contrib-htmlmin
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/grunt-ng-annotate
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/grunt-contrib-watch
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected]
[email protected] node_modules/grunt-svgmin
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/grunt-contrib-jshint
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/grunt-wiredep
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/grunt-autoprefixer
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected])
[email protected] node_modules/grunt-contrib-connect
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/grunt
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/grunt-usemin
├── [email protected] ([email protected])
└── [email protected]
[email protected] node_modules/load-grunt-tasks
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/grunt-google-cdn
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/grunt-contrib-imagemin
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
app/index.html modified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment