@@ -24,16 +24,20 @@ var paths = {
24
24
styles : [ yeoman . app + '/styles/**/*.' + cssx ] ,
25
25
test : [ 'test/spec/**/*.' + jsx ] ,
26
26
testRequire : [
27
- yeoman . app + '/bower_components/angular/angular.js' ,
28
- yeoman . app + '/bower_components/angular-mocks/angular-mocks.js' ,
29
- yeoman . app + '/bower_components/angular-resource/angular-resource.js' ,
30
- yeoman . app + '/bower_components/angular-cookies/angular-cookies.js' ,
31
- yeoman . app + '/bower_components/angular-sanitize/angular-sanitize.js' ,
32
- yeoman . app + '/bower_components/angular-route/angular-route.js' ,
27
+ 'bower_components/angular/angular.js' ,
28
+ 'bower_components/angular-mocks/angular-mocks.js' ,
29
+ 'bower_components/angular-resource/angular-resource.js' ,
30
+ 'bower_components/angular-cookies/angular-cookies.js' ,
31
+ 'bower_components/angular-sanitize/angular-sanitize.js' ,
32
+ 'bower_components/angular-route/angular-route.js' ,
33
+ 'bower_components/angular-animate/angular-animate.js' ,
34
+ 'bower_components/angular-touch/angular-touch.js' ,
35
+ 'bower_components/angular-ui-sortable/sortable.js' ,
36
+ 'bower_components/angular-local-storage/dist/angular-local-storage.js' ,
33
37
'test/mock/**/*.' + jsx ,
34
38
'test/spec/**/*.' + jsx
35
39
] ,
36
- karma : ' karma.conf.js',
40
+ karma : yeoman . test + '/ karma.conf.js',
37
41
views : {
38
42
main : yeoman . app + '/index.html' ,
39
43
bowermain : yeoman . temp + '/index.html' ,
@@ -98,7 +102,7 @@ gulp.task('start:client', ['start:server', <% if (coffee) { %>'coffee', <% } els
98
102
99
103
gulp.task('start:server', function() {
100
104
$ . connect . server ( {
101
- root : [ yeoman . app , yeoman . temp ] ,
105
+ root : [ yeoman . temp , yeoman . app ] ,
102
106
livereload : true ,
103
107
// Change this to '0.0.0.0' to access the server from outside.
104
108
port : 9000 ,
@@ -108,7 +112,7 @@ gulp.task('start:server', function() {
108
112
109
113
gulp.task('start:server:test', function() {
110
114
$ . connect . server ( {
111
- root : [ yeoman . test , yeoman . app , yeoman . temp ] ,
115
+ root : [ yeoman . temp , yeoman . test , yeoman . app ] ,
112
116
livereload : true ,
113
117
port : 9001 ,
114
118
middleware : serveStaticBower
@@ -152,7 +156,7 @@ gulp.task('serve', function (cb) {
152
156
gulp.task('serve:prod', function() {
153
157
$ . connect . server ( {
154
158
root : [ yeoman . dist ] ,
155
- livereload : true
159
+ livereload : true ,
156
160
port : argv . port || 80 ,
157
161
middleware : serveStaticBower
158
162
} ) ;
@@ -171,7 +175,7 @@ gulp.task('test', ['start:server:test'], function () {
171
175
gulp.task('bower', function () {
172
176
return gulp . src ( paths . views . main )
173
177
. pipe ( wiredep ( {
174
- directory : /*yeoman.app + */ '/bower_components' ,
178
+ directory : /*yeoman.app + */ '. /bower_components' ,
175
179
ignorePath : '..'
176
180
} ) )
177
181
// .pipe(gulp.dest(yeoman.app + '/views'));
0 commit comments