forked from rambl/rambl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
34 lines (32 loc) · 1.03 KB
/
gulpfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
var gulp = require('gulp');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var paths = {
scripts: [
'client/lib/socket.io.min.js',
'client/lib/easyrtc.js',
'client/lib/angular/angular.min.js',
'client/lib/angular-route/angular-route.min.js',
'client/lib/underscore/underscore.js',
'client/lib/jquery/dist/jquery.min.js',
'client/lib/bootstrap/dist/js/bootstrap.min.js',
'client/app/app.js',
'client/app/app.controller.js',
'client/components/services/auth_services.js',
'client/components/services/easyrtc_services.js',
'client/components/services/interview_services.js',
'client/components/navbar/navbar.js',
'client/app/home/home.js',
'client/app/login/login.js',
'client/app/signup/signup.js',
'client/app/about/about.js',
'client/app/lobby/lobby.js',
'client/app/room/room.js'
]
};
gulp.task('default', function () {
return gulp.src(paths.scripts)
.pipe(uglify())
.pipe(concat('built.min.js'))
.pipe(gulp.dest('client'));
});