Skip to content

Commit

Permalink
updated dependencies and gulpfile
Browse files Browse the repository at this point in the history
  • Loading branch information
severjason committed Nov 1, 2016
1 parent e26ad78 commit 13ba459
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
10 changes: 6 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ const path = {
images: 'app/images/**/*.*+(png|jpeg|jpg|svg|gif)',
fonts: ['bower_components/bootstrap-sass/assets/fonts/**/*'],
libJs: [
'bower_components/jquery/dist/jquery.min.js',
'bower_components/bootstrap-sass/assets/javascripts/bootstrap.min.js'],
/*'bower_components/fabric.js/dist/fabric.min.js',
'bower_components/jquery/dist/jquery.min.js',
'bower_components/bootstrap-sass/assets/javascripts/bootstrap.min.js'*/
],
js: ['app/js/**/*.js']
};

Expand Down Expand Up @@ -59,7 +61,7 @@ gulp.task('css', function () {
*/
gulp.task('js', function () {
return gulp.src(path.libJs)
.pipe(gulp.dest(path.app + '/lib'));
.pipe(gulp.dest('dist/lib'));
});

/**
Expand Down Expand Up @@ -125,7 +127,7 @@ gulp.task('watch', ['browserSync', 'css'], function () {
* Task to builds an app for production
*/
gulp.task('build', function () {
runSequence(['css', 'useref', 'img', 'fonts'])
runSequence(['css', 'useref','js', 'img', 'fonts'])
});

/**
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
"license": "ISC",
"devDependencies": {
"babel-preset-es2015": "^6.6.0",
"browser-sync": "~2.13.0",
"browser-sync": "~2.17.5",
"del": "~2.2.0",
"es6-promise": "^3.2.1",
"es6-promise": "^4.0.5",
"gulp": "~3.9.0",
"gulp-babel": "^6.1.2",
"gulp-cache": "~0.4.1",
"gulp-compass": "^2.1.0",
"gulp-cssnano": "~2.1.1",
"gulp-if": "~2.0.0",
"gulp-imagemin": "~3.0.1",
"gulp-load-plugins": "~1.2.0",
"gulp-imagemin": "~3.1.0",
"gulp-load-plugins": "~1.4.0",
"gulp-sass": "~2.3.1",
"gulp-sourcemaps": "~1.6.0",
"gulp-uglify": "~1.5.1",
"gulp-sourcemaps": "~2.2.0",
"gulp-uglify": "~2.0.0",
"gulp-useref": "~3.1.0",
"run-sequence": "~1.2.1"
}
Expand Down

0 comments on commit 13ba459

Please sign in to comment.