From e7752a4f3f3bcde880f1f2a96054f73452b1e460 Mon Sep 17 00:00:00 2001 From: Daniel Ruf Date: Sun, 18 Mar 2018 20:51:03 +0100 Subject: [PATCH] chore: move from bower to npm --- .bowerrc | 4 ---- .travis.yml | 2 +- bower.json | 6 +----- docs/assets/img/gulpfile.js | 10 +++++----- 4 files changed, 7 insertions(+), 15 deletions(-) delete mode 100644 .bowerrc diff --git a/.bowerrc b/.bowerrc deleted file mode 100644 index d1effadd5c..0000000000 --- a/.bowerrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "directory": "bower_components", - "modules": false -} diff --git a/.travis.yml b/.travis.yml index d82108b245..3552e4de92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ node_js: - "lts/carbon" - "stable" install: - - npm install -g bower browserstack-runner + - npm install -g browserstack-runner - npm install script: npm run test:ci notifications: diff --git a/bower.json b/bower.json index 6debf2b78f..1cbd79ad5d 100644 --- a/bower.json +++ b/bower.json @@ -26,9 +26,5 @@ ".versions", ".babelrc", "yarn.lock" - ], - "dependencies": { - "jquery": ">= 3.0.0", - "what-input": "~4.1.3" - } + ] } diff --git a/docs/assets/img/gulpfile.js b/docs/assets/img/gulpfile.js index 56cffd6588..218e47e85e 100755 --- a/docs/assets/img/gulpfile.js +++ b/docs/assets/img/gulpfile.js @@ -18,14 +18,14 @@ var paths = { 'src/downloads/**/*.*' ], sass: [ - 'bower_components/foundation-sites/scss' + 'node_modules/foundation-sites/scss' ], javascript: [ 'node_modules/jquery/dist/jquery.js', - 'bower_components/foundation-sites/dist/foundation.js', - 'bower_components/what-input/what-input.js', + 'node_modules/foundation-sites/dist/foundation.js', + 'node_modules/what-input/what-input.js', 'src/assets/js/**/*.js', - 'bower_components/lodash/lodash.js', + 'node_modules/lodash/lodash.js', 'src/assets/js/app.js' ] }; @@ -161,7 +161,7 @@ gulp.task('default', ['build', 'server'], function() { gulp.watch(['./src/{layouts,partials}/**/*.html'], ['pages:reset']); gulp.watch(['./src/assets/scss/**/*.scss'], ['sass']); gulp.watch(['./src/assets/js/**/*.js'], ['javascript']); - gulp.watch(['bower_components/foundation-sites/dist/foundation.js'], ['javascript']); + gulp.watch(['node_modules/foundation-sites/dist/foundation.js'], ['javascript']); gulp.watch(['./src/assets/img/**/*'], ['images']); gulp.watch(['./src/templates/**/*'], ['jst']); });