From f16ed31e84dc8fda7f217be12dd715690b54f471 Mon Sep 17 00:00:00 2001 From: Kyle K Date: Sun, 19 Mar 2017 02:20:34 -0500 Subject: - add gulpfile and bower preparing for use with vue.js and jquery - use express 4.x --- gulpfile.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 gulpfile.js (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 0000000..819ef94 --- /dev/null +++ b/gulpfile.js @@ -0,0 +1,18 @@ +var gulp = require('gulp'); +var paths = { + bower: './bower_components', + npm: './node_modules', + frontend: './static' +}; + +gulp.task('copy', function () { + return gulp.src(paths.bower + '/jquery/dist/jquery.min.js') + .pipe(gulp.dest(paths.frontend + '/js')); +}); +gulp.task('copy2', function () { + return gulp.src(paths.npm + '/vue/dist/vue.min.js') + .pipe(gulp.dest(paths.frontend + '/js')); +}); + +gulp.task('default', ['copy','copy2']); + -- cgit v1.2.3