diff options
author | Kyle K <kylek389@gmail.com> | 2017-03-19 02:20:34 -0500 |
---|---|---|
committer | Kyle K <kylek389@gmail.com> | 2017-03-19 02:20:34 -0500 |
commit | f16ed31e84dc8fda7f217be12dd715690b54f471 (patch) | |
tree | c483f4eaeced3ef5bcdedb2e6549348e2c6cf99b /gulpfile.js | |
parent | 00df5136aaf9a2aee9b9b5121f73dee7f3810d29 (diff) | |
download | express-upload-f16ed31e84dc8fda7f217be12dd715690b54f471.tar.gz express-upload-f16ed31e84dc8fda7f217be12dd715690b54f471.tar.bz2 express-upload-f16ed31e84dc8fda7f217be12dd715690b54f471.zip |
- add gulpfile and bower preparing for use with vue.js and jquery
- use express 4.x
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']); + |