-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgulpfile.js
More file actions
47 lines (37 loc) · 1.17 KB
/
gulpfile.js
File metadata and controls
47 lines (37 loc) · 1.17 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
* Created by rober on 12/03/2016.
*/
var gulp = require('gulp');
var notify = require("gulp-notify");
var bower = require('gulp-bower');
//config object that will hold various settings
var config = {
bowerDir: './bower_components',
nodeModulesDir: './node_modules'
}
gulp.task('javascript',function(){
gulp
.src(config.bowerDir + '/jquery/dist/jquery.min.js')
.pipe(gulp.dest('./public/js'));
gulp
.src(config.bowerDir + '/angular/angular.min.js')
.pipe(gulp.dest('./public/js'));
gulp
.src(config.bowerDir + '/angular-ui-router/release/angular-ui-router.min.js')
.pipe(gulp.dest('./public/js'));
gulp
.src(config.bowerDir + '/angular-materialize/src/angular-materialize.js')
.pipe(gulp.dest('./public/js'));
gulp
.src(config.bowerDir + "/socket.io-client/socket.io.js")
.pipe(gulp.dest('./public/js'));
gulp
.src(config.nodeModulesDir + "/codemirror/**/*")
.pipe(gulp.dest('./public/js/codemirror'));
gulp
.src(config.nodeModulesDir + "/clipboard/dist/clipboard.min.js")
.pipe(gulp.dest('./public/js'));
});
gulp.task('icons', function(){
});
gulp.task('default', ['javascript']);