diff options
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 18 |
1 files changed, 18 insertions, 0 deletions
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']); + |